In RGB color space, #9e21a2 hex color has a red value of 158, a green value of 33 and a blue value of 162.
In CMYK color space (used in color printing), #9e21a2 hex color is composed of 2.47% cyan, 79.63% magenta, 0% yellow and 36.47% black.
#9e21a2 color has a hue of 298.1 degrees, a saturation of 66.15% and a lightness of 38.2%.
#9e21a2 hex color contains mainly BLUE.
The closest web safe color of #9e21a2 is #993399
#9e21a2 hex color has a decimal value of 10363298.
HEX | 9e21a2 | #9e21a2 |
---|---|---|
RGB | 158, 33, 162 | rgb(158, 33, 162) |
RGB Percent | 61.96, 12.94, 63.53 | rgb(61.96, 12.94, 63.53) |
CMYK | 2, 80, 0, 36 | |
HSL | 298.1°, 66.15, 38.2 | hsl(298.1, 66.15%, 38.2%) |
HSV | 298.1°, 79.6, 63.5 |
XYZ | 21.166, 10.965, 35.183 |
---|---|
Hunter Lab | 33.113, 56.148, -39.816 |
CIE-LAB | 39.521, 63.749, -41.516 |
CIE-LCH | 39.521, 76.076, 326.926 |
CIE-LUV | 2.47, 79.63, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #9e21a2
CMYK percent of color #9e21a2
Text with hexadecimal color #9e21a2
This text has a font color of #9e21a2
<p style="color:#9e21a2">Text here</p>
#9e21a2 Background Color
This box has a background color of #9e21a2
<div style="background-color:#9e21a2">Text here</div>
#9e21a2 Border Color
This box has a border color of #9e21a2
<div style="border: 4px solid #9e21a2">Text here</div>
CSS codes
<p style="color:#9e21a2">Text here</p>
<div style="background-color:#9e21a2">Text here</div>
<div style="border: 4px solid #9e21a2">Text here</div>
#9e21a2 Color on white background
This is how a font and box color of #9e21a2 will look
on a white background.
#9e21a2 Color on black background
This is how a font and box color of #9e21a2 hex color will look
on a black background.