In RGB color space, #8a42ac hex color has a red value of 138, a green value of 66 and a blue value of 172.
In CMYK color space (used in color printing), #8a42ac hex color is composed of 19.77% cyan, 61.63% magenta, 0% yellow and 32.55% black.
#8a42ac color has a hue of 280.8 degrees, a saturation of 44.54% and a lightness of 46.7%.
#8a42ac hex color contains mainly BLUE.
The closest web safe color of #8a42ac is #993399
#8a42ac hex color has a decimal value of 9061036.
HEX | 8a42ac | #8a42ac |
---|---|---|
RGB | 138, 66, 172 | rgb(138, 66, 172) |
RGB Percent | 54.12, 25.88, 67.45 | rgb(54.12, 25.88, 67.45) |
CMYK | 20, 62, 0, 33 | |
HSL | 280.8°, 44.54, 46.7 | hsl(280.8, 44.54%, 46.7%) |
HSV | 280.8°, 61.6, 67.5 |
XYZ | 19.876, 12.278, 40.352 |
---|---|
Hunter Lab | 35.04, 39.932, -43.75 |
CIE-LAB | 41.655, 48.268, -44.254 |
CIE-LCH | 41.655, 65.484, 317.484 |
CIE-LUV | 19.77, 61.63, 0, 32.55 |
Web Safe | 993399 |
RGB percent of color #8a42ac
CMYK percent of color #8a42ac
Text with hexadecimal color #8a42ac
This text has a font color of #8a42ac
<p style="color:#8a42ac">Text here</p>
#8a42ac Background Color
This box has a background color of #8a42ac
<div style="background-color:#8a42ac">Text here</div>
#8a42ac Border Color
This box has a border color of #8a42ac
<div style="border: 4px solid #8a42ac">Text here</div>
CSS codes
<p style="color:#8a42ac">Text here</p>
<div style="background-color:#8a42ac">Text here</div>
<div style="border: 4px solid #8a42ac">Text here</div>
#8a42ac Color on white background
This is how a font and box color of #8a42ac will look
on a white background.
#8a42ac Color on black background
This is how a font and box color of #8a42ac hex color will look
on a black background.