In RGB color space, #8a21a6 hex color has a red value of 138, a green value of 33 and a blue value of 166.
In CMYK color space (used in color printing), #8a21a6 hex color is composed of 16.87% cyan, 80.12% magenta, 0% yellow and 34.9% black.
#8a21a6 color has a hue of 287.4 degrees, a saturation of 66.83% and a lightness of 39%.
#8a21a6 hex color contains mainly BLUE.
The closest web safe color of #8a21a6 is #993399
#8a21a6 hex color has a decimal value of 9052582.
HEX | 8a21a6 | #8a21a6 |
---|---|---|
RGB | 138, 33, 166 | rgb(138, 33, 166) |
RGB Percent | 54.12, 12.94, 65.1 | rgb(54.12, 12.94, 65.1) |
CMYK | 17, 80, 0, 35 | |
HSL | 287.4°, 66.83, 39 | hsl(287.4, 66.83%, 39%) |
HSV | 287.4°, 80.1, 65.1 |
XYZ | 17.908, 9.244, 36.917 |
---|---|
Hunter Lab | 30.404, 51.93, -50.708 |
CIE-LAB | 36.45, 60.565, -49.03 |
CIE-LCH | 36.45, 77.923, 321.008 |
CIE-LUV | 16.87, 80.12, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #8a21a6
CMYK percent of color #8a21a6
Text with hexadecimal color #8a21a6
This text has a font color of #8a21a6
<p style="color:#8a21a6">Text here</p>
#8a21a6 Background Color
This box has a background color of #8a21a6
<div style="background-color:#8a21a6">Text here</div>
#8a21a6 Border Color
This box has a border color of #8a21a6
<div style="border: 4px solid #8a21a6">Text here</div>
CSS codes
<p style="color:#8a21a6">Text here</p>
<div style="background-color:#8a21a6">Text here</div>
<div style="border: 4px solid #8a21a6">Text here</div>
#8a21a6 Color on white background
This is how a font and box color of #8a21a6 will look
on a white background.
#8a21a6 Color on black background
This is how a font and box color of #8a21a6 hex color will look
on a black background.