In RGB color space, #8a21c7 hex color has a red value of 138, a green value of 33 and a blue value of 199.
In CMYK color space (used in color printing), #8a21c7 hex color is composed of 30.65% cyan, 83.42% magenta, 0% yellow and 21.96% black.
#8a21c7 color has a hue of 278 degrees, a saturation of 71.55% and a lightness of 45.5%.
#8a21c7 hex color contains mainly BLUE.
The closest web safe color of #8a21c7 is #9933cc
#8a21c7 hex color has a decimal value of 9052615.
HEX | 8a21c7 | #8a21c7 |
---|---|---|
RGB | 138, 33, 199 | rgb(138, 33, 199) |
RGB Percent | 54.12, 12.94, 78.04 | rgb(54.12, 12.94, 78.04) |
CMYK | 31, 83, 0, 22 | |
HSL | 278°, 71.55, 45.5 | hsl(278, 71.55%, 45.5%) |
HSV | 278°, 83.4, 78 |
XYZ | 21.334, 10.615, 54.957 |
---|---|
Hunter Lab | 32.581, 59.867, -77.204 |
CIE-LAB | 38.924, 67.123, -64.542 |
CIE-LCH | 38.924, 93.119, 316.123 |
CIE-LUV | 30.65, 83.42, 0, 21.96 |
Web Safe | 9933cc |
RGB percent of color #8a21c7
CMYK percent of color #8a21c7
Text with hexadecimal color #8a21c7
This text has a font color of #8a21c7
<p style="color:#8a21c7">Text here</p>
#8a21c7 Background Color
This box has a background color of #8a21c7
<div style="background-color:#8a21c7">Text here</div>
#8a21c7 Border Color
This box has a border color of #8a21c7
<div style="border: 4px solid #8a21c7">Text here</div>
CSS codes
<p style="color:#8a21c7">Text here</p>
<div style="background-color:#8a21c7">Text here</div>
<div style="border: 4px solid #8a21c7">Text here</div>
#8a21c7 Color on white background
This is how a font and box color of #8a21c7 will look
on a white background.
#8a21c7 Color on black background
This is how a font and box color of #8a21c7 hex color will look
on a black background.