In RGB color space, #9838f2 hex color has a red value of 152, a green value of 56 and a blue value of 242.
In CMYK color space (used in color printing), #9838f2 hex color is composed of 37.19% cyan, 76.86% magenta, 0% yellow and 5.1% black.
#9838f2 color has a hue of 271 degrees, a saturation of 87.74% and a lightness of 58.4%.
#9838f2 hex color contains mainly BLUE.
The closest web safe color of #9838f2 is #9933ff
#9838f2 hex color has a decimal value of 9976050.
HEX | 9838f2 | #9838f2 |
---|---|---|
RGB | 152, 56, 242 | rgb(152, 56, 242) |
RGB Percent | 59.61, 21.96, 94.9 | rgb(59.61, 21.96, 94.9) |
CMYK | 37, 77, 0, 5 | |
HSL | 271°, 87.74, 58.4 | hsl(271, 87.74%, 58.4%) |
HSV | 271°, 76.9, 94.9 |
XYZ | 30.39, 15.915, 85.474 |
---|---|
Hunter Lab | 39.894, 66.163, -99.106 |
CIE-LAB | 46.863, 70.941, -76.112 |
CIE-LCH | 46.863, 104.046, 312.986 |
CIE-LUV | 37.19, 76.86, 0, 5.1 |
Web Safe | 9933ff |
RGB percent of color #9838f2
CMYK percent of color #9838f2
Text with hexadecimal color #9838f2
This text has a font color of #9838f2
<p style="color:#9838f2">Text here</p>
#9838f2 Background Color
This box has a background color of #9838f2
<div style="background-color:#9838f2">Text here</div>
#9838f2 Border Color
This box has a border color of #9838f2
<div style="border: 4px solid #9838f2">Text here</div>
CSS codes
<p style="color:#9838f2">Text here</p>
<div style="background-color:#9838f2">Text here</div>
<div style="border: 4px solid #9838f2">Text here</div>
#9838f2 Color on white background
This is how a font and box color of #9838f2 will look
on a white background.
#9838f2 Color on black background
This is how a font and box color of #9838f2 hex color will look
on a black background.