In RGB color space, #8f42e6 hex color has a red value of 143, a green value of 66 and a blue value of 230.
In CMYK color space (used in color printing), #8f42e6 hex color is composed of 37.83% cyan, 71.3% magenta, 0% yellow and 9.8% black.
#8f42e6 color has a hue of 268.2 degrees, a saturation of 76.64% and a lightness of 58%.
#8f42e6 hex color contains mainly BLUE.
The closest web safe color of #8f42e6 is #9933ff
#8f42e6 hex color has a decimal value of 9388774.
HEX | 8f42e6 | #8f42e6 |
---|---|---|
RGB | 143, 66, 230 | rgb(143, 66, 230) |
RGB Percent | 56.08, 25.88, 90.2 | rgb(56.08, 25.88, 90.2) |
CMYK | 38, 71, 0, 10 | |
HSL | 268.2°, 76.64, 58 | hsl(268.2, 76.64%, 58%) |
HSV | 268.2°, 71.3, 90.2 |
XYZ | 27.559, 15.449, 76.392 |
---|---|
Hunter Lab | 39.305, 56.372, -87.72 |
CIE-LAB | 46.243, 62.647, -70.4 |
CIE-LCH | 46.243, 94.238, 311.665 |
CIE-LUV | 37.83, 71.3, 0, 9.8 |
Web Safe | 9933ff |
RGB percent of color #8f42e6
CMYK percent of color #8f42e6
Text with hexadecimal color #8f42e6
This text has a font color of #8f42e6
<p style="color:#8f42e6">Text here</p>
#8f42e6 Background Color
This box has a background color of #8f42e6
<div style="background-color:#8f42e6">Text here</div>
#8f42e6 Border Color
This box has a border color of #8f42e6
<div style="border: 4px solid #8f42e6">Text here</div>
CSS codes
<p style="color:#8f42e6">Text here</p>
<div style="background-color:#8f42e6">Text here</div>
<div style="border: 4px solid #8f42e6">Text here</div>
#8f42e6 Color on white background
This is how a font and box color of #8f42e6 will look
on a white background.
#8f42e6 Color on black background
This is how a font and box color of #8f42e6 hex color will look
on a black background.