In RGB color space, #8a21b8 hex color has a red value of 138, a green value of 33 and a blue value of 184.
In CMYK color space (used in color printing), #8a21b8 hex color is composed of 25% cyan, 82.07% magenta, 0% yellow and 27.84% black.
#8a21b8 color has a hue of 281.7 degrees, a saturation of 69.59% and a lightness of 42.5%.
#8a21b8 hex color contains mainly BLUE.
The closest web safe color of #8a21b8 is #9933cc
#8a21b8 hex color has a decimal value of 9052600.
HEX | 8a21b8 | #8a21b8 |
---|---|---|
RGB | 138, 33, 184 | rgb(138, 33, 184) |
RGB Percent | 54.12, 12.94, 72.16 | rgb(54.12, 12.94, 72.16) |
CMYK | 25, 82, 0, 28 | |
HSL | 281.7°, 69.59, 42.5 | hsl(281.7, 69.59%, 42.5%) |
HSV | 281.7°, 82.1, 72.2 |
XYZ | 19.677, 9.952, 46.231 |
---|---|
Hunter Lab | 31.547, 56.131, -64.805 |
CIE-LAB | 37.756, 64.078, -57.638 |
CIE-LCH | 37.756, 86.187, 318.029 |
CIE-LUV | 25, 82.07, 0, 27.84 |
Web Safe | 9933cc |
RGB percent of color #8a21b8
CMYK percent of color #8a21b8
Text with hexadecimal color #8a21b8
This text has a font color of #8a21b8
<p style="color:#8a21b8">Text here</p>
#8a21b8 Background Color
This box has a background color of #8a21b8
<div style="background-color:#8a21b8">Text here</div>
#8a21b8 Border Color
This box has a border color of #8a21b8
<div style="border: 4px solid #8a21b8">Text here</div>
CSS codes
<p style="color:#8a21b8">Text here</p>
<div style="background-color:#8a21b8">Text here</div>
<div style="border: 4px solid #8a21b8">Text here</div>
#8a21b8 Color on white background
This is how a font and box color of #8a21b8 will look
on a white background.
#8a21b8 Color on black background
This is how a font and box color of #8a21b8 hex color will look
on a black background.