In RGB color space, #8f21d8 hex color has a red value of 143, a green value of 33 and a blue value of 216.
In CMYK color space (used in color printing), #8f21d8 hex color is composed of 33.8% cyan, 84.72% magenta, 0% yellow and 15.29% black.
#8f21d8 color has a hue of 276.1 degrees, a saturation of 73.49% and a lightness of 48.8%.
#8f21d8 hex color contains mainly BLUE.
The closest web safe color of #8f21d8 is #9933cc
#8f21d8 hex color has a decimal value of 9380312.
HEX | 8f21d8 | #8f21d8 |
---|---|---|
RGB | 143, 33, 216 | rgb(143, 33, 216) |
RGB Percent | 56.08, 12.94, 84.71 | rgb(56.08, 12.94, 84.71) |
CMYK | 34, 85, 0, 15 | |
HSL | 276.1°, 73.49, 48.8 | hsl(276.1, 73.49%, 48.8%) |
HSV | 276.1°, 84.7, 84.7 |
XYZ | 24.266, 11.885, 65.981 |
---|---|
Hunter Lab | 34.475, 65.312, -89.343 |
CIE-LAB | 41.033, 71.362, -70.913 |
CIE-LCH | 41.033, 100.604, 315.181 |
CIE-LUV | 33.8, 84.72, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #8f21d8
CMYK percent of color #8f21d8
Text with hexadecimal color #8f21d8
This text has a font color of #8f21d8
<p style="color:#8f21d8">Text here</p>
#8f21d8 Background Color
This box has a background color of #8f21d8
<div style="background-color:#8f21d8">Text here</div>
#8f21d8 Border Color
This box has a border color of #8f21d8
<div style="border: 4px solid #8f21d8">Text here</div>
CSS codes
<p style="color:#8f21d8">Text here</p>
<div style="background-color:#8f21d8">Text here</div>
<div style="border: 4px solid #8f21d8">Text here</div>
#8f21d8 Color on white background
This is how a font and box color of #8f21d8 will look
on a white background.
#8f21d8 Color on black background
This is how a font and box color of #8f21d8 hex color will look
on a black background.