In RGB color space, #9842b9 hex color has a red value of 152, a green value of 66 and a blue value of 185.
In CMYK color space (used in color printing), #9842b9 hex color is composed of 17.84% cyan, 64.32% magenta, 0% yellow and 27.45% black.
#9842b9 color has a hue of 283.4 degrees, a saturation of 47.41% and a lightness of 49.2%.
#9842b9 hex color contains mainly BLUE.
The closest web safe color of #9842b9 is #9933cc
#9842b9 hex color has a decimal value of 9978553.
HEX | 9842b9 | #9842b9 |
---|---|---|
RGB | 152, 66, 185 | rgb(152, 66, 185) |
RGB Percent | 59.61, 25.88, 72.55 | rgb(59.61, 25.88, 72.55) |
CMYK | 18, 64, 0, 27 | |
HSL | 283.4°, 47.41, 49.2 | hsl(283.4, 47.41%, 49.2%) |
HSV | 283.4°, 64.3, 72.5 |
XYZ | 23.654, 14.075, 47.369 |
---|---|
Hunter Lab | 37.517, 46.889, -48.599 |
CIE-LAB | 44.34, 54.416, -47.51 |
CIE-LCH | 44.34, 72.238, 318.876 |
CIE-LUV | 17.84, 64.32, 0, 27.45 |
Web Safe | 9933cc |
RGB percent of color #9842b9
CMYK percent of color #9842b9
Text with hexadecimal color #9842b9
This text has a font color of #9842b9
<p style="color:#9842b9">Text here</p>
#9842b9 Background Color
This box has a background color of #9842b9
<div style="background-color:#9842b9">Text here</div>
#9842b9 Border Color
This box has a border color of #9842b9
<div style="border: 4px solid #9842b9">Text here</div>
CSS codes
<p style="color:#9842b9">Text here</p>
<div style="background-color:#9842b9">Text here</div>
<div style="border: 4px solid #9842b9">Text here</div>
#9842b9 Color on white background
This is how a font and box color of #9842b9 will look
on a white background.
#9842b9 Color on black background
This is how a font and box color of #9842b9 hex color will look
on a black background.