In RGB color space, #8c40c6 hex color has a red value of 140, a green value of 64 and a blue value of 198.
In CMYK color space (used in color printing), #8c40c6 hex color is composed of 29.29% cyan, 67.68% magenta, 0% yellow and 22.35% black.
#8c40c6 color has a hue of 274 degrees, a saturation of 54.03% and a lightness of 51.4%.
#8c40c6 hex color contains mainly BLUE.
The closest web safe color of #8c40c6 is #9933cc
#8c40c6 hex color has a decimal value of 9191622.
HEX | 8c40c6 | #8c40c6 |
---|---|---|
RGB | 140, 64, 198 | rgb(140, 64, 198) |
RGB Percent | 54.9, 25.1, 77.65 | rgb(54.9, 25.1, 77.65) |
CMYK | 29, 68, 0, 22 | |
HSL | 274°, 54.03, 51.4 | hsl(274, 54.03%, 51.4%) |
HSV | 274°, 67.7, 77.6 |
XYZ | 22.842, 13.319, 54.793 |
---|---|
Hunter Lab | 36.495, 47.855, -63.47 |
CIE-LAB | 43.24, 55.518, -56.943 |
CIE-LCH | 43.24, 79.528, 314.274 |
CIE-LUV | 29.29, 67.68, 0, 22.35 |
Web Safe | 9933cc |
RGB percent of color #8c40c6
CMYK percent of color #8c40c6
Text with hexadecimal color #8c40c6
This text has a font color of #8c40c6
<p style="color:#8c40c6">Text here</p>
#8c40c6 Background Color
This box has a background color of #8c40c6
<div style="background-color:#8c40c6">Text here</div>
#8c40c6 Border Color
This box has a border color of #8c40c6
<div style="border: 4px solid #8c40c6">Text here</div>
CSS codes
<p style="color:#8c40c6">Text here</p>
<div style="background-color:#8c40c6">Text here</div>
<div style="border: 4px solid #8c40c6">Text here</div>
#8c40c6 Color on white background
This is how a font and box color of #8c40c6 will look
on a white background.
#8c40c6 Color on black background
This is how a font and box color of #8c40c6 hex color will look
on a black background.