In RGB color space, #8e21a7 hex color has a red value of 142, a green value of 33 and a blue value of 167.
In CMYK color space (used in color printing), #8e21a7 hex color is composed of 14.97% cyan, 80.24% magenta, 0% yellow and 34.51% black.
#8e21a7 color has a hue of 288.8 degrees, a saturation of 67% and a lightness of 39.2%.
#8e21a7 hex color contains mainly BLUE.
The closest web safe color of #8e21a7 is #993399
#8e21a7 hex color has a decimal value of 9314727.
HEX | 8e21a7 | #8e21a7 |
---|---|---|
RGB | 142, 33, 167 | rgb(142, 33, 167) |
RGB Percent | 55.69, 12.94, 65.49 | rgb(55.69, 12.94, 65.49) |
CMYK | 15, 80, 0, 35 | |
HSL | 288.8°, 67, 39.2 | hsl(288.8, 67%, 39.2%) |
HSV | 288.8°, 80.2, 65.5 |
XYZ | 18.674, 9.629, 37.433 |
---|---|
Hunter Lab | 31.031, 53.116, -49.802 |
CIE-LAB | 37.168, 61.499, -48.438 |
CIE-LCH | 37.168, 78.284, 321.775 |
CIE-LUV | 14.97, 80.24, 0, 34.51 |
Web Safe | 993399 |
RGB percent of color #8e21a7
CMYK percent of color #8e21a7
Text with hexadecimal color #8e21a7
This text has a font color of #8e21a7
<p style="color:#8e21a7">Text here</p>
#8e21a7 Background Color
This box has a background color of #8e21a7
<div style="background-color:#8e21a7">Text here</div>
#8e21a7 Border Color
This box has a border color of #8e21a7
<div style="border: 4px solid #8e21a7">Text here</div>
CSS codes
<p style="color:#8e21a7">Text here</p>
<div style="background-color:#8e21a7">Text here</div>
<div style="border: 4px solid #8e21a7">Text here</div>
#8e21a7 Color on white background
This is how a font and box color of #8e21a7 will look
on a white background.
#8e21a7 Color on black background
This is how a font and box color of #8e21a7 hex color will look
on a black background.