In RGB color space, #a228d2 hex color has a red value of 162, a green value of 40 and a blue value of 210.
In CMYK color space (used in color printing), #a228d2 hex color is composed of 22.86% cyan, 80.95% magenta, 0% yellow and 17.65% black.
#a228d2 color has a hue of 283.1 degrees, a saturation of 68% and a lightness of 49%.
#a228d2 hex color contains mainly BLUE.
The closest web safe color of #a228d2 is #9933cc
#a228d2 hex color has a decimal value of 10627282.
HEX | a228d2 | #a228d2 |
---|---|---|
RGB | 162, 40, 210 | rgb(162, 40, 210) |
RGB Percent | 63.53, 15.69, 82.35 | rgb(63.53, 15.69, 82.35) |
CMYK | 23, 81, 0, 18 | |
HSL | 283.1°, 68, 49 | hsl(283.1, 68%, 49%) |
HSV | 283.1°, 81, 82.4 |
XYZ | 27.292, 13.852, 62.208 |
---|---|
Hunter Lab | 37.218, 65.761, -73.047 |
CIE-LAB | 44.02, 71.158, -62.473 |
CIE-LCH | 44.02, 94.691, 318.719 |
CIE-LUV | 22.86, 80.95, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #a228d2
CMYK percent of color #a228d2
Text with hexadecimal color #a228d2
This text has a font color of #a228d2
<p style="color:#a228d2">Text here</p>
#a228d2 Background Color
This box has a background color of #a228d2
<div style="background-color:#a228d2">Text here</div>
#a228d2 Border Color
This box has a border color of #a228d2
<div style="border: 4px solid #a228d2">Text here</div>
CSS codes
<p style="color:#a228d2">Text here</p>
<div style="background-color:#a228d2">Text here</div>
<div style="border: 4px solid #a228d2">Text here</div>
#a228d2 Color on white background
This is how a font and box color of #a228d2 will look
on a white background.
#a228d2 Color on black background
This is how a font and box color of #a228d2 hex color will look
on a black background.