In RGB color space, #8a5198 hex color has a red value of 138, a green value of 81 and a blue value of 152.
In CMYK color space (used in color printing), #8a5198 hex color is composed of 9.21% cyan, 46.71% magenta, 0% yellow and 40.39% black.
#8a5198 color has a hue of 288.2 degrees, a saturation of 30.47% and a lightness of 45.7%.
#8a5198 hex color contains mainly BLUE.
The closest web safe color of #8a5198 is #996699
#8a5198 hex color has a decimal value of 9064856.
HEX | 8a5198 | #8a5198 |
---|---|---|
RGB | 138, 81, 152 | rgb(138, 81, 152) |
RGB Percent | 54.12, 31.76, 59.61 | rgb(54.12, 31.76, 59.61) |
CMYK | 9, 47, 0, 40 | |
HSL | 288.2°, 30.47, 45.7 | hsl(288.2, 30.47%, 45.7%) |
HSV | 288.2°, 46.7, 59.6 |
XYZ | 19.091, 13.555, 31.316 |
---|---|
Hunter Lab | 36.817, 28.129, -24.659 |
CIE-LAB | 43.588, 35.975, -29.28 |
CIE-LCH | 43.588, 46.384, 320.858 |
CIE-LUV | 9.21, 46.71, 0, 40.39 |
Web Safe | 996699 |
RGB percent of color #8a5198
CMYK percent of color #8a5198
Text with hexadecimal color #8a5198
This text has a font color of #8a5198
<p style="color:#8a5198">Text here</p>
#8a5198 Background Color
This box has a background color of #8a5198
<div style="background-color:#8a5198">Text here</div>
#8a5198 Border Color
This box has a border color of #8a5198
<div style="border: 4px solid #8a5198">Text here</div>
CSS codes
<p style="color:#8a5198">Text here</p>
<div style="background-color:#8a5198">Text here</div>
<div style="border: 4px solid #8a5198">Text here</div>
#8a5198 Color on white background
This is how a font and box color of #8a5198 will look
on a white background.
#8a5198 Color on black background
This is how a font and box color of #8a5198 hex color will look
on a black background.