In RGB color space, #9e21a1 hex color has a red value of 158, a green value of 33 and a blue value of 161.
In CMYK color space (used in color printing), #9e21a1 hex color is composed of 1.86% cyan, 79.5% magenta, 0% yellow and 36.86% black.
#9e21a1 color has a hue of 298.6 degrees, a saturation of 65.98% and a lightness of 38%.
#9e21a1 hex color contains mainly BLUE.
The closest web safe color of #9e21a1 is #993399
#9e21a1 hex color has a decimal value of 10363297.
HEX | 9e21a1 | #9e21a1 |
---|---|---|
RGB | 158, 33, 161 | rgb(158, 33, 161) |
RGB Percent | 61.96, 12.94, 63.14 | rgb(61.96, 12.94, 63.14) |
CMYK | 2, 80, 0, 37 | |
HSL | 298.6°, 65.98, 38 | hsl(298.6, 65.98%, 38%) |
HSV | 298.6°, 79.5, 63.1 |
XYZ | 21.077, 10.93, 34.717 |
---|---|
Hunter Lab | 33.061, 55.943, -39.118 |
CIE-LAB | 39.462, 63.579, -41.009 |
CIE-LCH | 39.462, 75.657, 327.178 |
CIE-LUV | 1.86, 79.5, 0, 36.86 |
Web Safe | 993399 |
RGB percent of color #9e21a1
CMYK percent of color #9e21a1
Text with hexadecimal color #9e21a1
This text has a font color of #9e21a1
<p style="color:#9e21a1">Text here</p>
#9e21a1 Background Color
This box has a background color of #9e21a1
<div style="background-color:#9e21a1">Text here</div>
#9e21a1 Border Color
This box has a border color of #9e21a1
<div style="border: 4px solid #9e21a1">Text here</div>
CSS codes
<p style="color:#9e21a1">Text here</p>
<div style="background-color:#9e21a1">Text here</div>
<div style="border: 4px solid #9e21a1">Text here</div>
#9e21a1 Color on white background
This is how a font and box color of #9e21a1 will look
on a white background.
#9e21a1 Color on black background
This is how a font and box color of #9e21a1 hex color will look
on a black background.