In RGB color space, #8e40b5 hex color has a red value of 142, a green value of 64 and a blue value of 181.
In CMYK color space (used in color printing), #8e40b5 hex color is composed of 21.55% cyan, 64.64% magenta, 0% yellow and 29.02% black.
#8e40b5 color has a hue of 280 degrees, a saturation of 47.76% and a lightness of 48%.
#8e40b5 hex color contains mainly BLUE.
The closest web safe color of #8e40b5 is #9933cc
#8e40b5 hex color has a decimal value of 9322677.
HEX | 8e40b5 | #8e40b5 |
---|---|---|
RGB | 142, 64, 181 | rgb(142, 64, 181) |
RGB Percent | 55.69, 25.1, 70.98 | rgb(55.69, 25.1, 70.98) |
CMYK | 22, 65, 0, 29 | |
HSL | 280°, 47.76, 48 | hsl(280, 47.76%, 48%) |
HSV | 280°, 64.6, 71 |
XYZ | 21.329, 12.754, 45.054 |
---|---|
Hunter Lab | 35.713, 44.11, -49.799 |
CIE-LAB | 42.39, 52.16, -48.362 |
CIE-LCH | 42.39, 71.131, 317.164 |
CIE-LUV | 21.55, 64.64, 0, 29.02 |
Web Safe | 9933cc |
RGB percent of color #8e40b5
CMYK percent of color #8e40b5
Text with hexadecimal color #8e40b5
This text has a font color of #8e40b5
<p style="color:#8e40b5">Text here</p>
#8e40b5 Background Color
This box has a background color of #8e40b5
<div style="background-color:#8e40b5">Text here</div>
#8e40b5 Border Color
This box has a border color of #8e40b5
<div style="border: 4px solid #8e40b5">Text here</div>
CSS codes
<p style="color:#8e40b5">Text here</p>
<div style="background-color:#8e40b5">Text here</div>
<div style="border: 4px solid #8e40b5">Text here</div>
#8e40b5 Color on white background
This is how a font and box color of #8e40b5 will look
on a white background.
#8e40b5 Color on black background
This is how a font and box color of #8e40b5 hex color will look
on a black background.