In RGB color space, #8540a6 hex color has a red value of 133, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #8540a6 hex color is composed of 19.88% cyan, 61.45% magenta, 0% yellow and 34.9% black.
#8540a6 color has a hue of 280.6 degrees, a saturation of 44.35% and a lightness of 45.1%.
#8540a6 hex color contains mainly BLUE.
The closest web safe color of #8540a6 is #993399
#8540a6 hex color has a decimal value of 8732838.
HEX | 8540a6 | #8540a6 |
---|---|---|
RGB | 133, 64, 166 | rgb(133, 64, 166) |
RGB Percent | 52.16, 25.1, 65.1 | rgb(52.16, 25.1, 65.1) |
CMYK | 20, 61, 0, 35 | |
HSL | 280.6°, 44.35, 45.1 | hsl(280.6, 44.35%, 45.1%) |
HSV | 280.6°, 61.4, 65.1 |
XYZ | 18.389, 11.407, 37.309 |
---|---|
Hunter Lab | 33.774, 38.083, -41.853 |
CIE-LAB | 40.258, 46.696, -42.957 |
CIE-LCH | 40.258, 63.449, 317.388 |
CIE-LUV | 19.88, 61.45, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #8540a6
CMYK percent of color #8540a6
Text with hexadecimal color #8540a6
This text has a font color of #8540a6
<p style="color:#8540a6">Text here</p>
#8540a6 Background Color
This box has a background color of #8540a6
<div style="background-color:#8540a6">Text here</div>
#8540a6 Border Color
This box has a border color of #8540a6
<div style="border: 4px solid #8540a6">Text here</div>
CSS codes
<p style="color:#8540a6">Text here</p>
<div style="background-color:#8540a6">Text here</div>
<div style="border: 4px solid #8540a6">Text here</div>
#8540a6 Color on white background
This is how a font and box color of #8540a6 will look
on a white background.
#8540a6 Color on black background
This is how a font and box color of #8540a6 hex color will look
on a black background.