In RGB color space, #9842ca hex color has a red value of 152, a green value of 66 and a blue value of 202.
In CMYK color space (used in color printing), #9842ca hex color is composed of 24.75% cyan, 67.33% magenta, 0% yellow and 20.78% black.
#9842ca color has a hue of 277.9 degrees, a saturation of 56.2% and a lightness of 52.5%.
#9842ca hex color contains mainly BLUE.
The closest web safe color of #9842ca is #9933cc
#9842ca hex color has a decimal value of 9978570.
HEX | 9842ca | #9842ca |
---|---|---|
RGB | 152, 66, 202 | rgb(152, 66, 202) |
RGB Percent | 59.61, 25.88, 79.22 | rgb(59.61, 25.88, 79.22) |
CMYK | 25, 67, 0, 21 | |
HSL | 277.9°, 56.2, 52.5 | hsl(277.9, 56.2%, 52.5%) |
HSV | 277.9°, 67.3, 79.2 |
XYZ | 25.558, 14.836, 57.394 |
---|---|
Hunter Lab | 38.518, 51.037, -61.384 |
CIE-LAB | 45.409, 58.032, -55.682 |
CIE-LCH | 45.409, 80.425, 316.184 |
CIE-LUV | 24.75, 67.33, 0, 20.78 |
Web Safe | 9933cc |
RGB percent of color #9842ca
CMYK percent of color #9842ca
Text with hexadecimal color #9842ca
This text has a font color of #9842ca
<p style="color:#9842ca">Text here</p>
#9842ca Background Color
This box has a background color of #9842ca
<div style="background-color:#9842ca">Text here</div>
#9842ca Border Color
This box has a border color of #9842ca
<div style="border: 4px solid #9842ca">Text here</div>
CSS codes
<p style="color:#9842ca">Text here</p>
<div style="background-color:#9842ca">Text here</div>
<div style="border: 4px solid #9842ca">Text here</div>
#9842ca Color on white background
This is how a font and box color of #9842ca will look
on a white background.
#9842ca Color on black background
This is how a font and box color of #9842ca hex color will look
on a black background.