In RGB color space, #9842c7 hex color has a red value of 152, a green value of 66 and a blue value of 199.
In CMYK color space (used in color printing), #9842c7 hex color is composed of 23.62% cyan, 66.83% magenta, 0% yellow and 21.96% black.
#9842c7 color has a hue of 278.8 degrees, a saturation of 54.29% and a lightness of 52%.
#9842c7 hex color contains mainly BLUE.
The closest web safe color of #9842c7 is #9933cc
#9842c7 hex color has a decimal value of 9978567.
HEX | 9842c7 | #9842c7 |
---|---|---|
RGB | 152, 66, 199 | rgb(152, 66, 199) |
RGB Percent | 59.61, 25.88, 78.04 | rgb(59.61, 25.88, 78.04) |
CMYK | 24, 67, 0, 22 | |
HSL | 278.8°, 54.29, 52 | hsl(278.8, 54.29%, 52%) |
HSV | 278.8°, 66.8, 78 |
XYZ | 25.206, 14.695, 55.541 |
---|---|
Hunter Lab | 38.334, 50.285, -59.07 |
CIE-LAB | 45.214, 57.385, -54.261 |
CIE-LCH | 45.214, 78.977, 316.603 |
CIE-LUV | 23.62, 66.83, 0, 21.96 |
Web Safe | 9933cc |
RGB percent of color #9842c7
CMYK percent of color #9842c7
Text with hexadecimal color #9842c7
This text has a font color of #9842c7
<p style="color:#9842c7">Text here</p>
#9842c7 Background Color
This box has a background color of #9842c7
<div style="background-color:#9842c7">Text here</div>
#9842c7 Border Color
This box has a border color of #9842c7
<div style="border: 4px solid #9842c7">Text here</div>
CSS codes
<p style="color:#9842c7">Text here</p>
<div style="background-color:#9842c7">Text here</div>
<div style="border: 4px solid #9842c7">Text here</div>
#9842c7 Color on white background
This is how a font and box color of #9842c7 will look
on a white background.
#9842c7 Color on black background
This is how a font and box color of #9842c7 hex color will look
on a black background.