In RGB color space, #9845f5 hex color has a red value of 152, a green value of 69 and a blue value of 245.
In CMYK color space (used in color printing), #9845f5 hex color is composed of 37.96% cyan, 71.84% magenta, 0% yellow and 3.92% black.
#9845f5 color has a hue of 268.3 degrees, a saturation of 89.8% and a lightness of 61.6%.
#9845f5 hex color contains mainly BLUE.
The closest web safe color of #9845f5 is #9933ff
#9845f5 hex color has a decimal value of 9979381.
HEX | 9845f5 | #9845f5 |
---|---|---|
RGB | 152, 69, 245 | rgb(152, 69, 245) |
RGB Percent | 59.61, 27.06, 96.08 | rgb(59.61, 27.06, 96.08) |
CMYK | 38, 72, 0, 4 | |
HSL | 268.3°, 89.8, 61.6 | hsl(268.3, 89.8%, 61.6%) |
HSV | 268.3°, 71.8, 96.1 |
XYZ | 31.558, 17.524, 88.105 |
---|---|
Hunter Lab | 41.862, 61.307, -95.483 |
CIE-LAB | 48.914, 66.427, -74.45 |
CIE-LCH | 48.914, 99.776, 311.741 |
CIE-LUV | 37.96, 71.84, 0, 3.92 |
Web Safe | 9933ff |
RGB percent of color #9845f5
CMYK percent of color #9845f5
Text with hexadecimal color #9845f5
This text has a font color of #9845f5
<p style="color:#9845f5">Text here</p>
#9845f5 Background Color
This box has a background color of #9845f5
<div style="background-color:#9845f5">Text here</div>
#9845f5 Border Color
This box has a border color of #9845f5
<div style="border: 4px solid #9845f5">Text here</div>
CSS codes
<p style="color:#9845f5">Text here</p>
<div style="background-color:#9845f5">Text here</div>
<div style="border: 4px solid #9845f5">Text here</div>
#9845f5 Color on white background
This is how a font and box color of #9845f5 will look
on a white background.
#9845f5 Color on black background
This is how a font and box color of #9845f5 hex color will look
on a black background.