In RGB color space, #8f21b4 hex color has a red value of 143, a green value of 33 and a blue value of 180.
In CMYK color space (used in color printing), #8f21b4 hex color is composed of 20.56% cyan, 81.67% magenta, 0% yellow and 29.41% black.
#8f21b4 color has a hue of 284.9 degrees, a saturation of 69.01% and a lightness of 41.8%.
#8f21b4 hex color contains mainly BLUE.
The closest web safe color of #8f21b4 is #9933cc
#8f21b4 hex color has a decimal value of 9380276.
HEX | 8f21b4 | #8f21b4 |
---|---|---|
RGB | 143, 33, 180 | rgb(143, 33, 180) |
RGB Percent | 56.08, 12.94, 70.59 | rgb(56.08, 12.94, 70.59) |
CMYK | 21, 82, 0, 29 | |
HSL | 284.9°, 69.01, 41.8 | hsl(284.9, 69.01%, 41.8%) |
HSV | 284.9°, 81.7, 70.6 |
XYZ | 20.11, 10.223, 44.093 |
---|---|
Hunter Lab | 31.973, 56.316, -59.383 |
CIE-LAB | 38.24, 64.147, -54.451 |
CIE-LCH | 38.24, 84.141, 319.674 |
CIE-LUV | 20.56, 81.67, 0, 29.41 |
Web Safe | 9933cc |
RGB percent of color #8f21b4
CMYK percent of color #8f21b4
Text with hexadecimal color #8f21b4
This text has a font color of #8f21b4
<p style="color:#8f21b4">Text here</p>
#8f21b4 Background Color
This box has a background color of #8f21b4
<div style="background-color:#8f21b4">Text here</div>
#8f21b4 Border Color
This box has a border color of #8f21b4
<div style="border: 4px solid #8f21b4">Text here</div>
CSS codes
<p style="color:#8f21b4">Text here</p>
<div style="background-color:#8f21b4">Text here</div>
<div style="border: 4px solid #8f21b4">Text here</div>
#8f21b4 Color on white background
This is how a font and box color of #8f21b4 will look
on a white background.
#8f21b4 Color on black background
This is how a font and box color of #8f21b4 hex color will look
on a black background.