In RGB color space, #8f42a2 hex color has a red value of 143, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #8f42a2 hex color is composed of 11.73% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#8f42a2 color has a hue of 288.1 degrees, a saturation of 42.11% and a lightness of 44.7%.
#8f42a2 hex color contains mainly BLUE.
The closest web safe color of #8f42a2 is #993399
#8f42a2 hex color has a decimal value of 9388706.
HEX | 8f42a2 | #8f42a2 |
---|---|---|
RGB | 143, 66, 162 | rgb(143, 66, 162) |
RGB Percent | 56.08, 25.88, 63.53 | rgb(56.08, 25.88, 63.53) |
CMYK | 12, 59, 0, 36 | |
HSL | 288.1°, 42.11, 44.7 | hsl(288.1, 42.11%, 44.7%) |
HSV | 288.1°, 59.3, 63.5 |
XYZ | 19.797, 12.345, 35.522 |
---|---|
Hunter Lab | 35.135, 39.088, -35.347 |
CIE-LAB | 41.759, 47.423, -38.097 |
CIE-LCH | 41.759, 60.83, 321.224 |
CIE-LUV | 11.73, 59.26, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #8f42a2
CMYK percent of color #8f42a2
Text with hexadecimal color #8f42a2
This text has a font color of #8f42a2
<p style="color:#8f42a2">Text here</p>
#8f42a2 Background Color
This box has a background color of #8f42a2
<div style="background-color:#8f42a2">Text here</div>
#8f42a2 Border Color
This box has a border color of #8f42a2
<div style="border: 4px solid #8f42a2">Text here</div>
CSS codes
<p style="color:#8f42a2">Text here</p>
<div style="background-color:#8f42a2">Text here</div>
<div style="border: 4px solid #8f42a2">Text here</div>
#8f42a2 Color on white background
This is how a font and box color of #8f42a2 will look
on a white background.
#8f42a2 Color on black background
This is how a font and box color of #8f42a2 hex color will look
on a black background.