#7E28A9
Purple
HEX
RGB
HSL
About #7E28A9 Purple
#7E28A9 is a purple color. In the RGB color model, it is composed of 126 red, 40 green, and 169 blue. In the HSL color space, it has a hue of 280°, saturation of 62%, and lightness of 41%.
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 #7E28A9 in your CSS, SCSS, or Tailwind projects.
Color Properties
280°
Hue
62%
Saturation
41%
Lightness
Purple
Color Harmonies
Colors that work well with #7E28A9 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7E28A9 against white and black backgrounds.
Aa#7E28A9 on White
Contrast Ratio7.6:1
AA ✓AA Large ✓AAA ✓
Aa#7E28A9 on Black
Contrast Ratio2.76:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #7E28A9 across different color formats.
| Format | Value |
|---|---|
| HEX | #7E28A9 |
| RGB | rgb(126, 40, 169) |
| HSL | hsl(280, 62%, 41%) |
| RGB Decimal | 126, 40, 169 |
| RGB Percent | 49.4%, 15.7%, 66.3% |
| CMYK (approx.) | 25%, 76%, 0%, 34% |
Related Palettes
12 palettes using #7E28A9 or similar colors