In RGB color space, #8c40a6 hex color has a red value of 140, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #8c40a6 hex color is composed of 15.66% cyan, 61.45% magenta, 0% yellow and 34.9% black.
#8c40a6 color has a hue of 284.7 degrees, a saturation of 44.35% and a lightness of 45.1%.
#8c40a6 hex color contains mainly BLUE.
The closest web safe color of #8c40a6 is #993399
#8c40a6 hex color has a decimal value of 9191590.
HEX | 8c40a6 | #8c40a6 |
---|---|---|
RGB | 140, 64, 166 | rgb(140, 64, 166) |
RGB Percent | 54.9, 25.1, 65.1 | rgb(54.9, 25.1, 65.1) |
CMYK | 16, 61, 0, 35 | |
HSL | 284.7°, 44.35, 45.1 | hsl(284.7, 44.35%, 45.1%) |
HSV | 284.7°, 61.4, 65.1 |
XYZ | 19.532, 11.995, 37.362 |
---|---|
Hunter Lab | 34.634, 40.057, -39.717 |
CIE-LAB | 41.208, 48.47, -41.384 |
CIE-LCH | 41.208, 63.734, 319.509 |
CIE-LUV | 15.66, 61.45, 0, 34.9 |
Web Safe | 993399 |
RGB percent of color #8c40a6
CMYK percent of color #8c40a6
Text with hexadecimal color #8c40a6
This text has a font color of #8c40a6
<p style="color:#8c40a6">Text here</p>
#8c40a6 Background Color
This box has a background color of #8c40a6
<div style="background-color:#8c40a6">Text here</div>
#8c40a6 Border Color
This box has a border color of #8c40a6
<div style="border: 4px solid #8c40a6">Text here</div>
CSS codes
<p style="color:#8c40a6">Text here</p>
<div style="background-color:#8c40a6">Text here</div>
<div style="border: 4px solid #8c40a6">Text here</div>
#8c40a6 Color on white background
This is how a font and box color of #8c40a6 will look
on a white background.
#8c40a6 Color on black background
This is how a font and box color of #8c40a6 hex color will look
on a black background.