In RGB color space, #8f42b7 hex color has a red value of 143, a green value of 66 and a blue value of 183.
In CMYK color space (used in color printing), #8f42b7 hex color is composed of 21.86% cyan, 63.93% magenta, 0% yellow and 28.24% black.
#8f42b7 color has a hue of 279.5 degrees, a saturation of 46.99% and a lightness of 48.8%.
#8f42b7 hex color contains mainly BLUE.
The closest web safe color of #8f42b7 is #9933cc
#8f42b7 hex color has a decimal value of 9388727.
HEX | 8f42b7 | #8f42b7 |
---|---|---|
RGB | 143, 66, 183 | rgb(143, 66, 183) |
RGB Percent | 56.08, 25.88, 71.76 | rgb(56.08, 25.88, 71.76) |
CMYK | 22, 64, 0, 28 | |
HSL | 279.5°, 46.99, 48.8 | hsl(279.5, 46.99%, 48.8%) |
HSV | 279.5°, 63.9, 71.8 |
XYZ | 21.823, 13.155, 46.189 |
---|---|
Hunter Lab | 36.27, 43.929, -50.116 |
CIE-LAB | 42.996, 51.877, -48.559 |
CIE-LCH | 42.996, 71.058, 316.892 |
CIE-LUV | 21.86, 63.93, 0, 28.24 |
Web Safe | 9933cc |
RGB percent of color #8f42b7
CMYK percent of color #8f42b7
Text with hexadecimal color #8f42b7
This text has a font color of #8f42b7
<p style="color:#8f42b7">Text here</p>
#8f42b7 Background Color
This box has a background color of #8f42b7
<div style="background-color:#8f42b7">Text here</div>
#8f42b7 Border Color
This box has a border color of #8f42b7
<div style="border: 4px solid #8f42b7">Text here</div>
CSS codes
<p style="color:#8f42b7">Text here</p>
<div style="background-color:#8f42b7">Text here</div>
<div style="border: 4px solid #8f42b7">Text here</div>
#8f42b7 Color on white background
This is how a font and box color of #8f42b7 will look
on a white background.
#8f42b7 Color on black background
This is how a font and box color of #8f42b7 hex color will look
on a black background.