In RGB color space, #8a2ba2 hex color has a red value of 138, a green value of 43 and a blue value of 162.
In CMYK color space (used in color printing), #8a2ba2 hex color is composed of 14.81% cyan, 73.46% magenta, 0% yellow and 36.47% black.
#8a2ba2 color has a hue of 287.9 degrees, a saturation of 58.05% and a lightness of 40.2%.
#8a2ba2 hex color contains mainly BLUE.
The closest web safe color of #8a2ba2 is #993399
#8a2ba2 hex color has a decimal value of 9055138.
HEX | 8a2ba2 | #8a2ba2 |
---|---|---|
RGB | 138, 43, 162 | rgb(138, 43, 162) |
RGB Percent | 54.12, 16.86, 63.53 | rgb(54.12, 16.86, 63.53) |
CMYK | 15, 73, 0, 36 | |
HSL | 287.9°, 58.05, 40.2 | hsl(287.9, 58.05%, 40.2%) |
HSV | 287.9°, 73.5, 63.5 |
XYZ | 17.867, 9.74, 35.121 |
---|---|
Hunter Lab | 31.209, 47.575, -44.876 |
CIE-LAB | 37.372, 56.373, -45.141 |
CIE-LCH | 37.372, 72.219, 321.314 |
CIE-LUV | 14.81, 73.46, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #8a2ba2
CMYK percent of color #8a2ba2
Text with hexadecimal color #8a2ba2
This text has a font color of #8a2ba2
<p style="color:#8a2ba2">Text here</p>
#8a2ba2 Background Color
This box has a background color of #8a2ba2
<div style="background-color:#8a2ba2">Text here</div>
#8a2ba2 Border Color
This box has a border color of #8a2ba2
<div style="border: 4px solid #8a2ba2">Text here</div>
CSS codes
<p style="color:#8a2ba2">Text here</p>
<div style="background-color:#8a2ba2">Text here</div>
<div style="border: 4px solid #8a2ba2">Text here</div>
#8a2ba2 Color on white background
This is how a font and box color of #8a2ba2 will look
on a white background.
#8a2ba2 Color on black background
This is how a font and box color of #8a2ba2 hex color will look
on a black background.