In RGB color space, #9842d6 hex color has a red value of 152, a green value of 66 and a blue value of 214.
In CMYK color space (used in color printing), #9842d6 hex color is composed of 28.97% cyan, 69.16% magenta, 0% yellow and 16.08% black.
#9842d6 color has a hue of 274.9 degrees, a saturation of 64.35% and a lightness of 54.9%.
#9842d6 hex color contains mainly BLUE.
The closest web safe color of #9842d6 is #9933cc
#9842d6 hex color has a decimal value of 9978582.
HEX | 9842d6 | #9842d6 |
---|---|---|
RGB | 152, 66, 214 | rgb(152, 66, 214) |
RGB Percent | 59.61, 25.88, 83.92 | rgb(59.61, 25.88, 83.92) |
CMYK | 29, 69, 0, 16 | |
HSL | 274.9°, 64.35, 54.9 | hsl(274.9, 64.35%, 54.9%) |
HSV | 274.9°, 69.2, 83.9 |
XYZ | 27.035, 15.427, 65.171 |
---|---|
Hunter Lab | 39.277, 54.129, -70.883 |
CIE-LAB | 46.214, 60.664, -61.285 |
CIE-LCH | 46.214, 86.232, 314.708 |
CIE-LUV | 28.97, 69.16, 0, 16.08 |
Web Safe | 9933cc |
RGB percent of color #9842d6
CMYK percent of color #9842d6
Text with hexadecimal color #9842d6
This text has a font color of #9842d6
<p style="color:#9842d6">Text here</p>
#9842d6 Background Color
This box has a background color of #9842d6
<div style="background-color:#9842d6">Text here</div>
#9842d6 Border Color
This box has a border color of #9842d6
<div style="border: 4px solid #9842d6">Text here</div>
CSS codes
<p style="color:#9842d6">Text here</p>
<div style="background-color:#9842d6">Text here</div>
<div style="border: 4px solid #9842d6">Text here</div>
#9842d6 Color on white background
This is how a font and box color of #9842d6 will look
on a white background.
#9842d6 Color on black background
This is how a font and box color of #9842d6 hex color will look
on a black background.