In RGB color space, #8c42b4 hex color has a red value of 140, a green value of 66 and a blue value of 180.
In CMYK color space (used in color printing), #8c42b4 hex color is composed of 22.22% cyan, 63.33% magenta, 0% yellow and 29.41% black.
#8c42b4 color has a hue of 278.9 degrees, a saturation of 46.34% and a lightness of 48.2%.
#8c42b4 hex color contains mainly BLUE.
The closest web safe color of #8c42b4 is #9933cc
#8c42b4 hex color has a decimal value of 9192116.
HEX | 8c42b4 | #8c42b4 |
---|---|---|
RGB | 140, 66, 180 | rgb(140, 66, 180) |
RGB Percent | 54.9, 25.88, 70.59 | rgb(54.9, 25.88, 70.59) |
CMYK | 22, 63, 0, 29 | |
HSL | 278.9°, 46.34, 48.2 | hsl(278.9, 46.34%, 48.2%) |
HSV | 278.9°, 63.3, 70.6 |
XYZ | 21.002, 12.767, 44.537 |
---|---|
Hunter Lab | 35.731, 42.39, -48.891 |
CIE-LAB | 42.41, 50.513, -47.756 |
CIE-LCH | 42.41, 69.514, 316.607 |
CIE-LUV | 22.22, 63.33, 0, 29.41 |
Web Safe | 9933cc |
RGB percent of color #8c42b4
CMYK percent of color #8c42b4
Text with hexadecimal color #8c42b4
This text has a font color of #8c42b4
<p style="color:#8c42b4">Text here</p>
#8c42b4 Background Color
This box has a background color of #8c42b4
<div style="background-color:#8c42b4">Text here</div>
#8c42b4 Border Color
This box has a border color of #8c42b4
<div style="border: 4px solid #8c42b4">Text here</div>
CSS codes
<p style="color:#8c42b4">Text here</p>
<div style="background-color:#8c42b4">Text here</div>
<div style="border: 4px solid #8c42b4">Text here</div>
#8c42b4 Color on white background
This is how a font and box color of #8c42b4 will look
on a white background.
#8c42b4 Color on black background
This is how a font and box color of #8c42b4 hex color will look
on a black background.