In RGB color space, #9840f1 hex color has a red value of 152, a green value of 64 and a blue value of 241.
In CMYK color space (used in color printing), #9840f1 hex color is composed of 36.93% cyan, 73.44% magenta, 0% yellow and 5.49% black.
#9840f1 color has a hue of 269.8 degrees, a saturation of 86.34% and a lightness of 59.8%.
#9840f1 hex color contains mainly BLUE.
The closest web safe color of #9840f1 is #9933ff
#9840f1 hex color has a decimal value of 9978097.
HEX | 9840f1 | #9840f1 |
---|---|---|
RGB | 152, 64, 241 | rgb(152, 64, 241) |
RGB Percent | 59.61, 25.1, 94.51 | rgb(59.61, 25.1, 94.51) |
CMYK | 37, 73, 0, 5 | |
HSL | 269.8°, 86.34, 59.8 | hsl(269.8, 86.34%, 59.8%) |
HSV | 269.8°, 73.4, 94.5 |
XYZ | 30.659, 16.693, 84.825 |
---|---|
Hunter Lab | 40.857, 62.446, -94.494 |
CIE-LAB | 47.871, 67.602, -73.906 |
CIE-LCH | 47.871, 100.161, 312.449 |
CIE-LUV | 36.93, 73.44, 0, 5.49 |
Web Safe | 9933ff |
RGB percent of color #9840f1
CMYK percent of color #9840f1
Text with hexadecimal color #9840f1
This text has a font color of #9840f1
<p style="color:#9840f1">Text here</p>
#9840f1 Background Color
This box has a background color of #9840f1
<div style="background-color:#9840f1">Text here</div>
#9840f1 Border Color
This box has a border color of #9840f1
<div style="border: 4px solid #9840f1">Text here</div>
CSS codes
<p style="color:#9840f1">Text here</p>
<div style="background-color:#9840f1">Text here</div>
<div style="border: 4px solid #9840f1">Text here</div>
#9840f1 Color on white background
This is how a font and box color of #9840f1 will look
on a white background.
#9840f1 Color on black background
This is how a font and box color of #9840f1 hex color will look
on a black background.