#7E2B97
Purple
HEX
RGB
HSL
About #7E2B97 Purple
#7E2B97 is a purple color. In the RGB color model, it is composed of 126 red, 43 green, and 151 blue. In the HSL color space, it has a hue of 286°, saturation of 56%, and lightness of 38%.
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 & Gradients
Use #7E2B97 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
286°
Hue
56%
Saturation
38%
Lightness
Purple
Color Harmonies
Colors that work well with #7E2B97 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7E2B97 against white and black backgrounds.
Aa#7E2B97 on White
Contrast Ratio7.84:1
AA ✓AA Large ✓AAA ✓
Aa#7E2B97 on Black
Contrast Ratio2.68:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #7E2B97 across different color formats.
| Format | Value |
|---|---|
| HEX | #7E2B97 |
| RGB | rgb(126, 43, 151) |
| HSL | hsl(286, 56%, 38%) |
| RGB Decimal | 126, 43, 151 |
| RGB Percent | 49.4%, 16.9%, 59.2% |
| CMYK (approx.) | 17%, 72%, 0%, 41% |
Related Palettes
12 palettes using #7E2B97 or similar colors