In RGB color space, #8a21d8 hex color has a red value of 138, a green value of 33 and a blue value of 216.
In CMYK color space (used in color printing), #8a21d8 hex color is composed of 36.11% cyan, 84.72% magenta, 0% yellow and 15.29% black.
#8a21d8 color has a hue of 274.4 degrees, a saturation of 73.49% and a lightness of 48.8%.
#8a21d8 hex color contains mainly BLUE.
The closest web safe color of #8a21d8 is #9933cc
#8a21d8 hex color has a decimal value of 9052632.
HEX | 8a21d8 | #8a21d8 |
---|---|---|
RGB | 138, 33, 216 | rgb(138, 33, 216) |
RGB Percent | 54.12, 12.94, 84.71 | rgb(54.12, 12.94, 84.71) |
CMYK | 36, 85, 0, 15 | |
HSL | 274.4°, 73.49, 48.8 | hsl(274.4, 73.49%, 48.8%) |
HSV | 274.4°, 84.7, 84.7 |
XYZ | 23.42, 11.449, 65.941 |
---|---|
Hunter Lab | 33.836, 64.336, -91.86 |
CIE-LAB | 40.327, 70.676, -72.096 |
CIE-LCH | 40.327, 100.96, 314.43 |
CIE-LUV | 36.11, 84.72, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #8a21d8
CMYK percent of color #8a21d8
Text with hexadecimal color #8a21d8
This text has a font color of #8a21d8
<p style="color:#8a21d8">Text here</p>
#8a21d8 Background Color
This box has a background color of #8a21d8
<div style="background-color:#8a21d8">Text here</div>
#8a21d8 Border Color
This box has a border color of #8a21d8
<div style="border: 4px solid #8a21d8">Text here</div>
CSS codes
<p style="color:#8a21d8">Text here</p>
<div style="background-color:#8a21d8">Text here</div>
<div style="border: 4px solid #8a21d8">Text here</div>
#8a21d8 Color on white background
This is how a font and box color of #8a21d8 will look
on a white background.
#8a21d8 Color on black background
This is how a font and box color of #8a21d8 hex color will look
on a black background.