In RGB color space, #8c42b5 hex color has a red value of 140, a green value of 66 and a blue value of 181.
In CMYK color space (used in color printing), #8c42b5 hex color is composed of 22.65% cyan, 63.54% magenta, 0% yellow and 29.02% black.
#8c42b5 color has a hue of 278.6 degrees, a saturation of 46.56% and a lightness of 48.4%.
#8c42b5 hex color contains mainly BLUE.
The closest web safe color of #8c42b5 is #9933cc
#8c42b5 hex color has a decimal value of 9192117.
HEX | 8c42b5 | #8c42b5 |
---|---|---|
RGB | 140, 66, 181 | rgb(140, 66, 181) |
RGB Percent | 54.9, 25.88, 70.98 | rgb(54.9, 25.88, 70.98) |
CMYK | 23, 64, 0, 29 | |
HSL | 278.6°, 46.56, 48.4 | hsl(278.6, 46.56%, 48.4%) |
HSV | 278.6°, 63.5, 71 |
XYZ | 21.104, 12.808, 45.076 |
---|---|
Hunter Lab | 35.788, 42.63, -49.625 |
CIE-LAB | 42.473, 50.733, -48.244 |
CIE-LCH | 42.473, 70.009, 316.441 |
CIE-LUV | 22.65, 63.54, 0, 29.02 |
Web Safe | 9933cc |
RGB percent of color #8c42b5
CMYK percent of color #8c42b5
Text with hexadecimal color #8c42b5
This text has a font color of #8c42b5
<p style="color:#8c42b5">Text here</p>
#8c42b5 Background Color
This box has a background color of #8c42b5
<div style="background-color:#8c42b5">Text here</div>
#8c42b5 Border Color
This box has a border color of #8c42b5
<div style="border: 4px solid #8c42b5">Text here</div>
CSS codes
<p style="color:#8c42b5">Text here</p>
<div style="background-color:#8c42b5">Text here</div>
<div style="border: 4px solid #8c42b5">Text here</div>
#8c42b5 Color on white background
This is how a font and box color of #8c42b5 will look
on a white background.
#8c42b5 Color on black background
This is how a font and box color of #8c42b5 hex color will look
on a black background.