In RGB color space, #9842cb hex color has a red value of 152, a green value of 66 and a blue value of 203.
In CMYK color space (used in color printing), #9842cb hex color is composed of 25.12% cyan, 67.49% magenta, 0% yellow and 20.39% black.
#9842cb color has a hue of 277.7 degrees, a saturation of 56.85% and a lightness of 52.7%.
#9842cb hex color contains mainly BLUE.
The closest web safe color of #9842cb is #9933cc
#9842cb hex color has a decimal value of 9978571.
HEX | 9842cb | #9842cb |
---|---|---|
RGB | 152, 66, 203 | rgb(152, 66, 203) |
RGB Percent | 59.61, 25.88, 79.61 | rgb(59.61, 25.88, 79.61) |
CMYK | 25, 67, 0, 20 | |
HSL | 277.7°, 56.85, 52.7 | hsl(277.7, 56.85%, 52.7%) |
HSV | 277.7°, 67.5, 79.6 |
XYZ | 25.677, 14.884, 58.019 |
---|---|
Hunter Lab | 38.58, 51.287, -62.159 |
CIE-LAB | 45.475, 58.247, -56.152 |
CIE-LCH | 45.475, 80.906, 316.049 |
CIE-LUV | 25.12, 67.49, 0, 20.39 |
Web Safe | 9933cc |
RGB percent of color #9842cb
CMYK percent of color #9842cb
Text with hexadecimal color #9842cb
This text has a font color of #9842cb
<p style="color:#9842cb">Text here</p>
#9842cb Background Color
This box has a background color of #9842cb
<div style="background-color:#9842cb">Text here</div>
#9842cb Border Color
This box has a border color of #9842cb
<div style="border: 4px solid #9842cb">Text here</div>
CSS codes
<p style="color:#9842cb">Text here</p>
<div style="background-color:#9842cb">Text here</div>
<div style="border: 4px solid #9842cb">Text here</div>
#9842cb Color on white background
This is how a font and box color of #9842cb will look
on a white background.
#9842cb Color on black background
This is how a font and box color of #9842cb hex color will look
on a black background.