In RGB color space, #9842b4 hex color has a red value of 152, a green value of 66 and a blue value of 180.
In CMYK color space (used in color printing), #9842b4 hex color is composed of 15.56% cyan, 63.33% magenta, 0% yellow and 29.41% black.
#9842b4 color has a hue of 285.3 degrees, a saturation of 46.34% and a lightness of 48.2%.
#9842b4 hex color contains mainly BLUE.
The closest web safe color of #9842b4 is #9933cc
#9842b4 hex color has a decimal value of 9978548.
HEX | 9842b4 | #9842b4 |
---|---|---|
RGB | 152, 66, 180 | rgb(152, 66, 180) |
RGB Percent | 59.61, 25.88, 70.59 | rgb(59.61, 25.88, 70.59) |
CMYK | 16, 63, 0, 29 | |
HSL | 285.3°, 46.34, 48.2 | hsl(285.3, 46.34%, 48.2%) |
HSV | 285.3°, 63.3, 70.6 |
XYZ | 23.135, 13.867, 44.637 |
---|---|
Hunter Lab | 37.238, 45.729, -45.003 |
CIE-LAB | 44.042, 53.386, -45.054 |
CIE-LCH | 44.042, 69.856, 319.838 |
CIE-LUV | 15.56, 63.33, 0, 29.41 |
Web Safe | 9933cc |
RGB percent of color #9842b4
CMYK percent of color #9842b4
Text with hexadecimal color #9842b4
This text has a font color of #9842b4
<p style="color:#9842b4">Text here</p>
#9842b4 Background Color
This box has a background color of #9842b4
<div style="background-color:#9842b4">Text here</div>
#9842b4 Border Color
This box has a border color of #9842b4
<div style="border: 4px solid #9842b4">Text here</div>
CSS codes
<p style="color:#9842b4">Text here</p>
<div style="background-color:#9842b4">Text here</div>
<div style="border: 4px solid #9842b4">Text here</div>
#9842b4 Color on white background
This is how a font and box color of #9842b4 will look
on a white background.
#9842b4 Color on black background
This is how a font and box color of #9842b4 hex color will look
on a black background.