In RGB color space, #8b21a8 hex color has a red value of 139, a green value of 33 and a blue value of 168.
In CMYK color space (used in color printing), #8b21a8 hex color is composed of 17.26% cyan, 80.36% magenta, 0% yellow and 34.12% black.
#8b21a8 color has a hue of 287.1 degrees, a saturation of 67.16% and a lightness of 39.4%.
#8b21a8 hex color contains mainly BLUE.
The closest web safe color of #8b21a8 is #993399
#8b21a8 hex color has a decimal value of 9118120.
HEX | 8b21a8 | #8b21a8 |
---|---|---|
RGB | 139, 33, 168 | rgb(139, 33, 168) |
RGB Percent | 54.51, 12.94, 65.88 | rgb(54.51, 12.94, 65.88) |
CMYK | 17, 80, 0, 34 | |
HSL | 287.1°, 67.16, 39.4 | hsl(287.1, 67.16%, 39.4%) |
HSV | 287.1°, 80.4, 65.9 |
XYZ | 18.259, 9.404, 37.899 |
---|---|
Hunter Lab | 30.666, 52.616, -51.808 |
CIE-LAB | 36.751, 61.128, -49.737 |
CIE-LCH | 36.751, 78.806, 320.866 |
CIE-LUV | 17.26, 80.36, 0, 34.12 |
Web Safe | 993399 |
RGB percent of color #8b21a8
CMYK percent of color #8b21a8
Text with hexadecimal color #8b21a8
This text has a font color of #8b21a8
<p style="color:#8b21a8">Text here</p>
#8b21a8 Background Color
This box has a background color of #8b21a8
<div style="background-color:#8b21a8">Text here</div>
#8b21a8 Border Color
This box has a border color of #8b21a8
<div style="border: 4px solid #8b21a8">Text here</div>
CSS codes
<p style="color:#8b21a8">Text here</p>
<div style="background-color:#8b21a8">Text here</div>
<div style="border: 4px solid #8b21a8">Text here</div>
#8b21a8 Color on white background
This is how a font and box color of #8b21a8 will look
on a white background.
#8b21a8 Color on black background
This is how a font and box color of #8b21a8 hex color will look
on a black background.