#7E22A5
Purple
HEX
RGB
HSL
About #7E22A5 Purple
#7E22A5 is a purple color. In the RGB color model, it is composed of 126 red, 34 green, and 165 blue. In the HSL color space, it has a hue of 282°, saturation of 66%, and lightness of 39%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #7E22A5 in your CSS, SCSS, or Tailwind projects.
Color Properties
282°
Hue
66%
Saturation
39%
Lightness
Purple
Color Harmonies
Colors that work well with #7E22A5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7E22A5 against white and black backgrounds.
Aa#7E22A5 on White
Contrast Ratio7.9:1
AA ✓AA Large ✓AAA ✓
Aa#7E22A5 on Black
Contrast Ratio2.66:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #7E22A5 across different color formats.
| Format | Value |
|---|---|
| HEX | #7E22A5 |
| RGB | rgb(126, 34, 165) |
| HSL | hsl(282, 66%, 39%) |
| RGB Decimal | 126, 34, 165 |
| RGB Percent | 49.4%, 13.3%, 64.7% |
| CMYK (approx.) | 24%, 79%, 0%, 35% |
Related Palettes
12 palettes using #7E22A5 or similar colors