In RGB color space, #8a21d2 hex color has a red value of 138, a green value of 33 and a blue value of 210.
In CMYK color space (used in color printing), #8a21d2 hex color is composed of 34.29% cyan, 84.29% magenta, 0% yellow and 17.65% black.
#8a21d2 color has a hue of 275.6 degrees, a saturation of 72.84% and a lightness of 47.6%.
#8a21d2 hex color contains mainly BLUE.
The closest web safe color of #8a21d2 is #9933cc
#8a21d2 hex color has a decimal value of 9052626.
HEX | 8a21d2 | #8a21d2 |
---|---|---|
RGB | 138, 33, 210 | rgb(138, 33, 210) |
RGB Percent | 54.12, 12.94, 82.35 | rgb(54.12, 12.94, 82.35) |
CMYK | 34, 84, 0, 18 | |
HSL | 275.6°, 72.84, 47.6 | hsl(275.6, 72.84%, 47.6%) |
HSV | 275.6°, 84.3, 82.4 |
XYZ | 22.658, 11.144, 61.93 |
---|---|
Hunter Lab | 33.383, 62.735, -86.624 |
CIE-LAB | 39.822, 69.414, -69.463 |
CIE-LCH | 39.822, 98.201, 314.98 |
CIE-LUV | 34.29, 84.29, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #8a21d2
CMYK percent of color #8a21d2
Text with hexadecimal color #8a21d2
This text has a font color of #8a21d2
<p style="color:#8a21d2">Text here</p>
#8a21d2 Background Color
This box has a background color of #8a21d2
<div style="background-color:#8a21d2">Text here</div>
#8a21d2 Border Color
This box has a border color of #8a21d2
<div style="border: 4px solid #8a21d2">Text here</div>
CSS codes
<p style="color:#8a21d2">Text here</p>
<div style="background-color:#8a21d2">Text here</div>
<div style="border: 4px solid #8a21d2">Text here</div>
#8a21d2 Color on white background
This is how a font and box color of #8a21d2 will look
on a white background.
#8a21d2 Color on black background
This is how a font and box color of #8a21d2 hex color will look
on a black background.