In RGB color space, #8b40d5 hex color has a red value of 139, a green value of 64 and a blue value of 213.
In CMYK color space (used in color printing), #8b40d5 hex color is composed of 34.74% cyan, 69.95% magenta, 0% yellow and 16.47% black.
#8b40d5 color has a hue of 270.2 degrees, a saturation of 63.95% and a lightness of 54.3%.
#8b40d5 hex color contains mainly BLUE.
The closest web safe color of #8b40d5 is #9933cc
#8b40d5 hex color has a decimal value of 9126101.
HEX | 8b40d5 | #8b40d5 |
---|---|---|
RGB | 139, 64, 213 | rgb(139, 64, 213) |
RGB Percent | 54.51, 25.1, 83.53 | rgb(54.51, 25.1, 83.53) |
CMYK | 35, 70, 0, 16 | |
HSL | 270.2°, 63.95, 54.3 | hsl(270.2, 63.95%, 54.3%) |
HSV | 270.2°, 70, 83.5 |
XYZ | 24.491, 13.96, 64.354 |
---|---|
Hunter Lab | 37.363, 51.619, -75.967 |
CIE-LAB | 44.176, 58.793, -64.092 |
CIE-LCH | 44.176, 86.974, 312.531 |
CIE-LUV | 34.74, 69.95, 0, 16.47 |
Web Safe | 9933cc |
RGB percent of color #8b40d5
CMYK percent of color #8b40d5
Text with hexadecimal color #8b40d5
This text has a font color of #8b40d5
<p style="color:#8b40d5">Text here</p>
#8b40d5 Background Color
This box has a background color of #8b40d5
<div style="background-color:#8b40d5">Text here</div>
#8b40d5 Border Color
This box has a border color of #8b40d5
<div style="border: 4px solid #8b40d5">Text here</div>
CSS codes
<p style="color:#8b40d5">Text here</p>
<div style="background-color:#8b40d5">Text here</div>
<div style="border: 4px solid #8b40d5">Text here</div>
#8b40d5 Color on white background
This is how a font and box color of #8b40d5 will look
on a white background.
#8b40d5 Color on black background
This is how a font and box color of #8b40d5 hex color will look
on a black background.