#A842D7
Purple
HEX
RGB
HSL
About #A842D7 Purple
#A842D7 is a purple color. In the RGB color model, it is composed of 168 red, 66 green, and 215 blue. In the HSL color space, it has a hue of 281°, saturation of 65%, and lightness of 55%.
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 #A842D7 in your CSS, SCSS, or Tailwind projects.
Color Properties
281°
Hue
65%
Saturation
55%
Lightness
Purple
Color Harmonies
Colors that work well with #A842D7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #A842D7 against white and black backgrounds.
Aa#A842D7 on White
Contrast Ratio4.75:1
AA ✓AA Large ✓AAA ✗
Aa#A842D7 on Black
Contrast Ratio4.43:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #A842D7 across different color formats.
| Format | Value |
|---|---|
| HEX | #A842D7 |
| RGB | rgb(168, 66, 215) |
| HSL | hsl(281, 65%, 55%) |
| RGB Decimal | 168, 66, 215 |
| RGB Percent | 65.9%, 25.9%, 84.3% |
| CMYK (approx.) | 22%, 69%, 0%, 16% |
Related Palettes
12 palettes using #A842D7 or similar colors