In RGB color space, #9e40c8 hex color has a red value of 158, a green value of 64 and a blue value of 200.
In CMYK color space (used in color printing), #9e40c8 hex color is composed of 21% cyan, 68% magenta, 0% yellow and 21.57% black.
#9e40c8 color has a hue of 281.5 degrees, a saturation of 55.28% and a lightness of 51.8%.
#9e40c8 hex color contains mainly BLUE.
The closest web safe color of #9e40c8 is #9933cc
#9e40c8 hex color has a decimal value of 10371272.
HEX | 9e40c8 | #9e40c8 |
---|---|---|
RGB | 158, 64, 200 | rgb(158, 64, 200) |
RGB Percent | 61.96, 25.1, 78.43 | rgb(61.96, 25.1, 78.43) |
CMYK | 21, 68, 0, 22 | |
HSL | 281.5°, 55.28, 51.8 | hsl(281.5, 55.28%, 51.8%) |
HSV | 281.5°, 68, 78.4 |
XYZ | 26.359, 15.106, 56.17 |
---|---|
Hunter Lab | 38.866, 53.041, -58.48 |
CIE-LAB | 45.779, 59.773, -53.887 |
CIE-LCH | 45.779, 80.477, 317.964 |
CIE-LUV | 21, 68, 0, 21.57 |
Web Safe | 9933cc |
RGB percent of color #9e40c8
CMYK percent of color #9e40c8
Text with hexadecimal color #9e40c8
This text has a font color of #9e40c8
<p style="color:#9e40c8">Text here</p>
#9e40c8 Background Color
This box has a background color of #9e40c8
<div style="background-color:#9e40c8">Text here</div>
#9e40c8 Border Color
This box has a border color of #9e40c8
<div style="border: 4px solid #9e40c8">Text here</div>
CSS codes
<p style="color:#9e40c8">Text here</p>
<div style="background-color:#9e40c8">Text here</div>
<div style="border: 4px solid #9e40c8">Text here</div>
#9e40c8 Color on white background
This is how a font and box color of #9e40c8 will look
on a white background.
#9e40c8 Color on black background
This is how a font and box color of #9e40c8 hex color will look
on a black background.