In RGB color space, #8f21d2 hex color has a red value of 143, a green value of 33 and a blue value of 210.
In CMYK color space (used in color printing), #8f21d2 hex color is composed of 31.9% cyan, 84.29% magenta, 0% yellow and 17.65% black.
#8f21d2 color has a hue of 277.3 degrees, a saturation of 72.84% and a lightness of 47.6%.
#8f21d2 hex color contains mainly BLUE.
The closest web safe color of #8f21d2 is #9933cc
#8f21d2 hex color has a decimal value of 9380306.
HEX | 8f21d2 | #8f21d2 |
---|---|---|
RGB | 143, 33, 210 | rgb(143, 33, 210) |
RGB Percent | 56.08, 12.94, 82.35 | rgb(56.08, 12.94, 82.35) |
CMYK | 32, 84, 0, 18 | |
HSL | 277.3°, 72.84, 47.6 | hsl(277.3, 72.84%, 47.6%) |
HSV | 277.3°, 84.3, 82.4 |
XYZ | 23.504, 11.58, 61.969 |
---|---|
Hunter Lab | 34.029, 63.738, -84.149 |
CIE-LAB | 40.541, 70.128, -68.259 |
CIE-LCH | 40.541, 97.863, 315.774 |
CIE-LUV | 31.9, 84.29, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #8f21d2
CMYK percent of color #8f21d2
Text with hexadecimal color #8f21d2
This text has a font color of #8f21d2
<p style="color:#8f21d2">Text here</p>
#8f21d2 Background Color
This box has a background color of #8f21d2
<div style="background-color:#8f21d2">Text here</div>
#8f21d2 Border Color
This box has a border color of #8f21d2
<div style="border: 4px solid #8f21d2">Text here</div>
CSS codes
<p style="color:#8f21d2">Text here</p>
<div style="background-color:#8f21d2">Text here</div>
<div style="border: 4px solid #8f21d2">Text here</div>
#8f21d2 Color on white background
This is how a font and box color of #8f21d2 will look
on a white background.
#8f21d2 Color on black background
This is how a font and box color of #8f21d2 hex color will look
on a black background.