In RGB color space, #9842d2 hex color has a red value of 152, a green value of 66 and a blue value of 210.
In CMYK color space (used in color printing), #9842d2 hex color is composed of 27.62% cyan, 68.57% magenta, 0% yellow and 17.65% black.
#9842d2 color has a hue of 275.8 degrees, a saturation of 61.54% and a lightness of 54.1%.
#9842d2 hex color contains mainly BLUE.
The closest web safe color of #9842d2 is #9933cc
#9842d2 hex color has a decimal value of 9978578.
HEX | 9842d2 | #9842d2 |
---|---|---|
RGB | 152, 66, 210 | rgb(152, 66, 210) |
RGB Percent | 59.61, 25.88, 82.35 | rgb(59.61, 25.88, 82.35) |
CMYK | 28, 69, 0, 18 | |
HSL | 275.8°, 61.54, 54.1 | hsl(275.8, 61.54%, 54.1%) |
HSV | 275.8°, 68.6, 82.4 |
XYZ | 26.53, 15.225, 62.513 |
---|---|
Hunter Lab | 39.019, 53.082, -67.676 |
CIE-LAB | 45.941, 59.779, -59.432 |
CIE-LCH | 45.941, 84.295, 315.167 |
CIE-LUV | 27.62, 68.57, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #9842d2
CMYK percent of color #9842d2
Text with hexadecimal color #9842d2
This text has a font color of #9842d2
<p style="color:#9842d2">Text here</p>
#9842d2 Background Color
This box has a background color of #9842d2
<div style="background-color:#9842d2">Text here</div>
#9842d2 Border Color
This box has a border color of #9842d2
<div style="border: 4px solid #9842d2">Text here</div>
CSS codes
<p style="color:#9842d2">Text here</p>
<div style="background-color:#9842d2">Text here</div>
<div style="border: 4px solid #9842d2">Text here</div>
#9842d2 Color on white background
This is how a font and box color of #9842d2 will look
on a white background.
#9842d2 Color on black background
This is how a font and box color of #9842d2 hex color will look
on a black background.