In RGB color space, #9842c2 hex color has a red value of 152, a green value of 66 and a blue value of 194.
In CMYK color space (used in color printing), #9842c2 hex color is composed of 21.65% cyan, 65.98% magenta, 0% yellow and 23.92% black.
#9842c2 color has a hue of 280.3 degrees, a saturation of 51.2% and a lightness of 51%.
#9842c2 hex color contains mainly BLUE.
The closest web safe color of #9842c2 is #9933cc
#9842c2 hex color has a decimal value of 9978562.
HEX | 9842c2 | #9842c2 |
---|---|---|
RGB | 152, 66, 194 | rgb(152, 66, 194) |
RGB Percent | 59.61, 25.88, 76.08 | rgb(59.61, 25.88, 76.08) |
CMYK | 22, 66, 0, 24 | |
HSL | 280.3°, 51.2, 51 | hsl(280.3, 51.2%, 51%) |
HSV | 280.3°, 66, 76.1 |
XYZ | 24.635, 14.467, 52.533 |
---|---|
Hunter Lab | 38.036, 49.049, -55.264 |
CIE-LAB | 44.895, 56.313, -51.871 |
CIE-LCH | 44.895, 76.562, 317.351 |
CIE-LUV | 21.65, 65.98, 0, 23.92 |
Web Safe | 9933cc |
RGB percent of color #9842c2
CMYK percent of color #9842c2
Text with hexadecimal color #9842c2
This text has a font color of #9842c2
<p style="color:#9842c2">Text here</p>
#9842c2 Background Color
This box has a background color of #9842c2
<div style="background-color:#9842c2">Text here</div>
#9842c2 Border Color
This box has a border color of #9842c2
<div style="border: 4px solid #9842c2">Text here</div>
CSS codes
<p style="color:#9842c2">Text here</p>
<div style="background-color:#9842c2">Text here</div>
<div style="border: 4px solid #9842c2">Text here</div>
#9842c2 Color on white background
This is how a font and box color of #9842c2 will look
on a white background.
#9842c2 Color on black background
This is how a font and box color of #9842c2 hex color will look
on a black background.