In RGB color space, #9842c8 hex color has a red value of 152, a green value of 66 and a blue value of 200.
In CMYK color space (used in color printing), #9842c8 hex color is composed of 24% cyan, 67% magenta, 0% yellow and 21.57% black.
#9842c8 color has a hue of 278.5 degrees, a saturation of 54.92% and a lightness of 52.2%.
#9842c8 hex color contains mainly BLUE.
The closest web safe color of #9842c8 is #9933cc
#9842c8 hex color has a decimal value of 9978568.
HEX | 9842c8 | #9842c8 |
---|---|---|
RGB | 152, 66, 200 | rgb(152, 66, 200) |
RGB Percent | 59.61, 25.88, 78.43 | rgb(59.61, 25.88, 78.43) |
CMYK | 24, 67, 0, 22 | |
HSL | 278.5°, 54.92, 52.2 | hsl(278.5, 54.92%, 52.2%) |
HSV | 278.5°, 67, 78.4 |
XYZ | 25.322, 14.742, 56.154 |
---|---|
Hunter Lab | 38.395, 50.53, -59.836 |
CIE-LAB | 45.279, 57.596, -54.734 |
CIE-LCH | 45.279, 79.455, 316.459 |
CIE-LUV | 24, 67, 0, 21.57 |
Web Safe | 9933cc |
RGB percent of color #9842c8
CMYK percent of color #9842c8
Text with hexadecimal color #9842c8
This text has a font color of #9842c8
<p style="color:#9842c8">Text here</p>
#9842c8 Background Color
This box has a background color of #9842c8
<div style="background-color:#9842c8">Text here</div>
#9842c8 Border Color
This box has a border color of #9842c8
<div style="border: 4px solid #9842c8">Text here</div>
CSS codes
<p style="color:#9842c8">Text here</p>
<div style="background-color:#9842c8">Text here</div>
<div style="border: 4px solid #9842c8">Text here</div>
#9842c8 Color on white background
This is how a font and box color of #9842c8 will look
on a white background.
#9842c8 Color on black background
This is how a font and box color of #9842c8 hex color will look
on a black background.