In RGB color space, #8540b4 hex color has a red value of 133, a green value of 64 and a blue value of 180.
In CMYK color space (used in color printing), #8540b4 hex color is composed of 26.11% cyan, 64.44% magenta, 0% yellow and 29.41% black.
#8540b4 color has a hue of 275.7 degrees, a saturation of 47.54% and a lightness of 47.8%.
#8540b4 hex color contains mainly BLUE.
The closest web safe color of #8540b4 is #9933cc
#8540b4 hex color has a decimal value of 8732852.
HEX | 8540b4 | #8540b4 |
---|---|---|
RGB | 133, 64, 180 | rgb(133, 64, 180) |
RGB Percent | 52.16, 25.1, 70.59 | rgb(52.16, 25.1, 70.59) |
CMYK | 26, 64, 0, 29 | |
HSL | 275.7°, 47.54, 47.8 | hsl(275.7, 47.54%, 47.8%) |
HSV | 275.7°, 64.4, 70.6 |
XYZ | 19.744, 11.949, 44.446 |
---|---|
Hunter Lab | 34.567, 41.462, -52.037 |
CIE-LAB | 41.135, 49.849, -49.853 |
CIE-LCH | 41.135, 70.5, 314.998 |
CIE-LUV | 26.11, 64.44, 0, 29.41 |
Web Safe | 9933cc |
RGB percent of color #8540b4
CMYK percent of color #8540b4
Text with hexadecimal color #8540b4
This text has a font color of #8540b4
<p style="color:#8540b4">Text here</p>
#8540b4 Background Color
This box has a background color of #8540b4
<div style="background-color:#8540b4">Text here</div>
#8540b4 Border Color
This box has a border color of #8540b4
<div style="border: 4px solid #8540b4">Text here</div>
CSS codes
<p style="color:#8540b4">Text here</p>
<div style="background-color:#8540b4">Text here</div>
<div style="border: 4px solid #8540b4">Text here</div>
#8540b4 Color on white background
This is how a font and box color of #8540b4 will look
on a white background.
#8540b4 Color on black background
This is how a font and box color of #8540b4 hex color will look
on a black background.