In RGB color space, #9f21a6 hex color has a red value of 159, a green value of 33 and a blue value of 166.
In CMYK color space (used in color printing), #9f21a6 hex color is composed of 4.22% cyan, 80.12% magenta, 0% yellow and 34.9% black.
#9f21a6 color has a hue of 296.8 degrees, a saturation of 66.83% and a lightness of 39%.
#9f21a6 hex color contains mainly BLUE.
The closest web safe color of #9f21a6 is #993399
#9f21a6 hex color has a decimal value of 10428838.
HEX | 9f21a6 | #9f21a6 |
---|---|---|
RGB | 159, 33, 166 | rgb(159, 33, 166) |
RGB Percent | 62.35, 12.94, 65.1 | rgb(62.35, 12.94, 65.1) |
CMYK | 4, 80, 0, 35 | |
HSL | 296.8°, 66.83, 39 | hsl(296.8, 66.83%, 39%) |
HSV | 296.8°, 80.1, 65.1 |
XYZ | 21.725, 11.212, 37.095 |
---|---|
Hunter Lab | 33.484, 57.215, -42.244 |
CIE-LAB | 39.935, 64.61, -43.244 |
CIE-LCH | 39.935, 77.746, 326.205 |
CIE-LUV | 4.22, 80.12, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #9f21a6
CMYK percent of color #9f21a6
Text with hexadecimal color #9f21a6
This text has a font color of #9f21a6
<p style="color:#9f21a6">Text here</p>
#9f21a6 Background Color
This box has a background color of #9f21a6
<div style="background-color:#9f21a6">Text here</div>
#9f21a6 Border Color
This box has a border color of #9f21a6
<div style="border: 4px solid #9f21a6">Text here</div>
CSS codes
<p style="color:#9f21a6">Text here</p>
<div style="background-color:#9f21a6">Text here</div>
<div style="border: 4px solid #9f21a6">Text here</div>
#9f21a6 Color on white background
This is how a font and box color of #9f21a6 will look
on a white background.
#9f21a6 Color on black background
This is how a font and box color of #9f21a6 hex color will look
on a black background.