In RGB color space, #9842d1 hex color has a red value of 152, a green value of 66 and a blue value of 209.
In CMYK color space (used in color printing), #9842d1 hex color is composed of 27.27% cyan, 68.42% magenta, 0% yellow and 18.04% black.
#9842d1 color has a hue of 276.1 degrees, a saturation of 60.85% and a lightness of 53.9%.
#9842d1 hex color contains mainly BLUE.
The closest web safe color of #9842d1 is #9933cc
#9842d1 hex color has a decimal value of 9978577.
HEX | 9842d1 | #9842d1 |
---|---|---|
RGB | 152, 66, 209 | rgb(152, 66, 209) |
RGB Percent | 59.61, 25.88, 81.96 | rgb(59.61, 25.88, 81.96) |
CMYK | 27, 68, 0, 18 | |
HSL | 276.1°, 60.85, 53.9 | hsl(276.1, 60.85%, 53.9%) |
HSV | 276.1°, 68.4, 82 |
XYZ | 26.406, 15.175, 61.859 |
---|---|
Hunter Lab | 38.955, 52.826, -66.881 |
CIE-LAB | 45.873, 59.562, -58.967 |
CIE-LCH | 45.873, 83.814, 315.288 |
CIE-LUV | 27.27, 68.42, 0, 18.04 |
Web Safe | 9933cc |
RGB percent of color #9842d1
CMYK percent of color #9842d1
Text with hexadecimal color #9842d1
This text has a font color of #9842d1
<p style="color:#9842d1">Text here</p>
#9842d1 Background Color
This box has a background color of #9842d1
<div style="background-color:#9842d1">Text here</div>
#9842d1 Border Color
This box has a border color of #9842d1
<div style="border: 4px solid #9842d1">Text here</div>
CSS codes
<p style="color:#9842d1">Text here</p>
<div style="background-color:#9842d1">Text here</div>
<div style="border: 4px solid #9842d1">Text here</div>
#9842d1 Color on white background
This is how a font and box color of #9842d1 will look
on a white background.
#9842d1 Color on black background
This is how a font and box color of #9842d1 hex color will look
on a black background.