In RGB color space, #a228e2 hex color has a red value of 162, a green value of 40 and a blue value of 226.
In CMYK color space (used in color printing), #a228e2 hex color is composed of 28.32% cyan, 82.3% magenta, 0% yellow and 11.37% black.
#a228e2 color has a hue of 279.4 degrees, a saturation of 76.23% and a lightness of 52.2%.
#a228e2 hex color contains mainly BLUE.
The closest web safe color of #a228e2 is #9933cc
#a228e2 hex color has a decimal value of 10627298.
HEX | a228e2 | #a228e2 |
---|---|---|
RGB | 162, 40, 226 | rgb(162, 40, 226) |
RGB Percent | 63.53, 15.69, 88.63 | rgb(63.53, 15.69, 88.63) |
CMYK | 28, 82, 0, 11 | |
HSL | 279.4°, 76.23, 52.2 | hsl(279.4, 76.23%, 52.2%) |
HSV | 279.4°, 82.3, 88.6 |
XYZ | 29.387, 14.69, 73.238 |
---|---|
Hunter Lab | 38.328, 69.789, -86.465 |
CIE-LAB | 45.207, 74.276, -69.707 |
CIE-LCH | 45.207, 101.863, 316.818 |
CIE-LUV | 28.32, 82.3, 0, 11.37 |
Web Safe | 9933cc |
RGB percent of color #a228e2
CMYK percent of color #a228e2
Text with hexadecimal color #a228e2
This text has a font color of #a228e2
<p style="color:#a228e2">Text here</p>
#a228e2 Background Color
This box has a background color of #a228e2
<div style="background-color:#a228e2">Text here</div>
#a228e2 Border Color
This box has a border color of #a228e2
<div style="border: 4px solid #a228e2">Text here</div>
CSS codes
<p style="color:#a228e2">Text here</p>
<div style="background-color:#a228e2">Text here</div>
<div style="border: 4px solid #a228e2">Text here</div>
#a228e2 Color on white background
This is how a font and box color of #a228e2 will look
on a white background.
#a228e2 Color on black background
This is how a font and box color of #a228e2 hex color will look
on a black background.