In RGB color space, #8f42b6 hex color has a red value of 143, a green value of 66 and a blue value of 182.
In CMYK color space (used in color printing), #8f42b6 hex color is composed of 21.43% cyan, 63.74% magenta, 0% yellow and 28.63% black.
#8f42b6 color has a hue of 279.8 degrees, a saturation of 46.77% and a lightness of 48.6%.
#8f42b6 hex color contains mainly BLUE.
The closest web safe color of #8f42b6 is #9933cc
#8f42b6 hex color has a decimal value of 9388726.
HEX | 8f42b6 | #8f42b6 |
---|---|---|
RGB | 143, 66, 182 | rgb(143, 66, 182) |
RGB Percent | 56.08, 25.88, 71.37 | rgb(56.08, 25.88, 71.37) |
CMYK | 21, 64, 0, 29 | |
HSL | 279.8°, 46.77, 48.6 | hsl(279.8, 46.77%, 48.6%) |
HSV | 279.8°, 63.7, 71.4 |
XYZ | 21.719, 13.113, 45.642 |
---|---|
Hunter Lab | 36.212, 43.689, -49.382 |
CIE-LAB | 42.933, 51.661, -48.072 |
CIE-LCH | 42.933, 70.568, 317.061 |
CIE-LUV | 21.43, 63.74, 0, 28.63 |
Web Safe | 9933cc |
RGB percent of color #8f42b6
CMYK percent of color #8f42b6
Text with hexadecimal color #8f42b6
This text has a font color of #8f42b6
<p style="color:#8f42b6">Text here</p>
#8f42b6 Background Color
This box has a background color of #8f42b6
<div style="background-color:#8f42b6">Text here</div>
#8f42b6 Border Color
This box has a border color of #8f42b6
<div style="border: 4px solid #8f42b6">Text here</div>
CSS codes
<p style="color:#8f42b6">Text here</p>
<div style="background-color:#8f42b6">Text here</div>
<div style="border: 4px solid #8f42b6">Text here</div>
#8f42b6 Color on white background
This is how a font and box color of #8f42b6 will look
on a white background.
#8f42b6 Color on black background
This is how a font and box color of #8f42b6 hex color will look
on a black background.