#7E1F9E
Purple
HEX
RGB
HSL
About #7E1F9E Purple
#7E1F9E is a purple color. In the RGB color model, it is composed of 126 red, 31 green, and 158 blue. In the HSL color space, it has a hue of 285°, saturation of 67%, and lightness of 37%.
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 #7E1F9E in your CSS, SCSS, or Tailwind projects.
Color Properties
285°
Hue
67%
Saturation
37%
Lightness
Purple
Color Harmonies
Colors that work well with #7E1F9E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7E1F9E against white and black backgrounds.
Aa#7E1F9E on White
Contrast Ratio8.15:1
AA ✓AA Large ✓AAA ✓
Aa#7E1F9E on Black
Contrast Ratio2.58:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #7E1F9E across different color formats.
| Format | Value |
|---|---|
| HEX | #7E1F9E |
| RGB | rgb(126, 31, 158) |
| HSL | hsl(285, 67%, 37%) |
| RGB Decimal | 126, 31, 158 |
| RGB Percent | 49.4%, 12.2%, 62.0% |
| CMYK (approx.) | 20%, 80%, 0%, 38% |
Related Palettes
12 palettes using #7E1F9E or similar colors