In RGB color space, #8f42c6 hex color has a red value of 143, a green value of 66 and a blue value of 198.
In CMYK color space (used in color printing), #8f42c6 hex color is composed of 27.78% cyan, 66.67% magenta, 0% yellow and 22.35% black.
#8f42c6 color has a hue of 275 degrees, a saturation of 53.66% and a lightness of 51.8%.
#8f42c6 hex color contains mainly BLUE.
The closest web safe color of #8f42c6 is #9933cc
#8f42c6 hex color has a decimal value of 9388742.
HEX | 8f42c6 | #8f42c6 |
---|---|---|
RGB | 143, 66, 198 | rgb(143, 66, 198) |
RGB Percent | 56.08, 25.88, 77.65 | rgb(56.08, 25.88, 77.65) |
CMYK | 28, 67, 0, 22 | |
HSL | 275°, 53.66, 51.8 | hsl(275, 53.66%, 51.8%) |
HSV | 275°, 66.7, 77.6 |
XYZ | 23.469, 13.813, 54.855 |
---|---|
Hunter Lab | 37.166, 47.677, -61.493 |
CIE-LAB | 43.964, 55.218, -55.756 |
CIE-LCH | 43.964, 78.471, 314.722 |
CIE-LUV | 27.78, 66.67, 0, 22.35 |
Web Safe | 9933cc |
RGB percent of color #8f42c6
CMYK percent of color #8f42c6
Text with hexadecimal color #8f42c6
This text has a font color of #8f42c6
<p style="color:#8f42c6">Text here</p>
#8f42c6 Background Color
This box has a background color of #8f42c6
<div style="background-color:#8f42c6">Text here</div>
#8f42c6 Border Color
This box has a border color of #8f42c6
<div style="border: 4px solid #8f42c6">Text here</div>
CSS codes
<p style="color:#8f42c6">Text here</p>
<div style="background-color:#8f42c6">Text here</div>
<div style="border: 4px solid #8f42c6">Text here</div>
#8f42c6 Color on white background
This is how a font and box color of #8f42c6 will look
on a white background.
#8f42c6 Color on black background
This is how a font and box color of #8f42c6 hex color will look
on a black background.