#A228D2
Purple
HEX
RGB
HSL
About #A228D2 Purple
#A228D2 is a purple color. In the RGB color model, it is composed of 162 red, 40 green, and 210 blue. In the HSL color space, it has a hue of 283°, saturation of 68%, and lightness of 49%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #A228D2 in your CSS, SCSS, or Tailwind projects.
Color Properties
283°
Hue
68%
Saturation
49%
Lightness
Purple
Color Harmonies
Colors that work well with #A228D2 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #A228D2 against white and black backgrounds.
Aa#A228D2 on White
Contrast Ratio5.57:1
AA ✓AA Large ✓AAA ✗
Aa#A228D2 on Black
Contrast Ratio3.77:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #A228D2 across different color formats.
| Format | Value |
|---|---|
| HEX | #A228D2 |
| RGB | rgb(162, 40, 210) |
| HSL | hsl(283, 68%, 49%) |
| RGB Decimal | 162, 40, 210 |
| RGB Percent | 63.5%, 15.7%, 82.4% |
| CMYK (approx.) | 23%, 81%, 0%, 18% |
Related Palettes
12 palettes using #A228D2 or similar colors