In RGB color space, #8f42c2 hex color has a red value of 143, a green value of 66 and a blue value of 194.
In CMYK color space (used in color printing), #8f42c2 hex color is composed of 26.29% cyan, 65.98% magenta, 0% yellow and 23.92% black.
#8f42c2 color has a hue of 276.1 degrees, a saturation of 51.2% and a lightness of 51%.
#8f42c2 hex color contains mainly BLUE.
The closest web safe color of #8f42c2 is #9933cc
#8f42c2 hex color has a decimal value of 9388738.
HEX | 8f42c2 | #8f42c2 |
---|---|---|
RGB | 143, 66, 194 | rgb(143, 66, 194) |
RGB Percent | 56.08, 25.88, 76.08 | rgb(56.08, 25.88, 76.08) |
CMYK | 26, 66, 0, 24 | |
HSL | 276.1°, 51.2, 51 | hsl(276.1, 51.2%, 51%) |
HSV | 276.1°, 66, 76.1 |
XYZ | 23.014, 13.631, 52.457 |
---|---|
Hunter Lab | 36.92, 46.657, -58.396 |
CIE-LAB | 43.699, 54.318, -53.858 |
CIE-LCH | 43.699, 76.493, 315.244 |
CIE-LUV | 26.29, 65.98, 0, 23.92 |
Web Safe | 9933cc |
RGB percent of color #8f42c2
CMYK percent of color #8f42c2
Text with hexadecimal color #8f42c2
This text has a font color of #8f42c2
<p style="color:#8f42c2">Text here</p>
#8f42c2 Background Color
This box has a background color of #8f42c2
<div style="background-color:#8f42c2">Text here</div>
#8f42c2 Border Color
This box has a border color of #8f42c2
<div style="border: 4px solid #8f42c2">Text here</div>
CSS codes
<p style="color:#8f42c2">Text here</p>
<div style="background-color:#8f42c2">Text here</div>
<div style="border: 4px solid #8f42c2">Text here</div>
#8f42c2 Color on white background
This is how a font and box color of #8f42c2 will look
on a white background.
#8f42c2 Color on black background
This is how a font and box color of #8f42c2 hex color will look
on a black background.