In RGB color space, #8e40a6 hex color has a red value of 142, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #8e40a6 hex color is composed of 14.46% cyan, 61.45% magenta, 0% yellow and 34.9% black.
#8e40a6 color has a hue of 285.9 degrees, a saturation of 44.35% and a lightness of 45.1%.
#8e40a6 hex color contains mainly BLUE.
The closest web safe color of #8e40a6 is #993399
#8e40a6 hex color has a decimal value of 9322662.
HEX | 8e40a6 | #8e40a6 |
---|---|---|
RGB | 142, 64, 166 | rgb(142, 64, 166) |
RGB Percent | 55.69, 25.1, 65.1 | rgb(55.69, 25.1, 65.1) |
CMYK | 14, 61, 0, 35 | |
HSL | 285.9°, 44.35, 45.1 | hsl(285.9, 44.35%, 45.1%) |
HSV | 285.9°, 61.4, 65.1 |
XYZ | 19.872, 12.171, 37.378 |
---|---|
Hunter Lab | 34.887, 40.623, -39.103 |
CIE-LAB | 41.487, 48.972, -40.924 |
CIE-LCH | 41.487, 63.82, 320.116 |
CIE-LUV | 14.46, 61.45, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #8e40a6
CMYK percent of color #8e40a6
Text with hexadecimal color #8e40a6
This text has a font color of #8e40a6
<p style="color:#8e40a6">Text here</p>
#8e40a6 Background Color
This box has a background color of #8e40a6
<div style="background-color:#8e40a6">Text here</div>
#8e40a6 Border Color
This box has a border color of #8e40a6
<div style="border: 4px solid #8e40a6">Text here</div>
CSS codes
<p style="color:#8e40a6">Text here</p>
<div style="background-color:#8e40a6">Text here</div>
<div style="border: 4px solid #8e40a6">Text here</div>
#8e40a6 Color on white background
This is how a font and box color of #8e40a6 will look
on a white background.
#8e40a6 Color on black background
This is how a font and box color of #8e40a6 hex color will look
on a black background.