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