#7E51C8
Purple
HEX
RGB
HSL
About #7E51C8 Purple
#7E51C8 is a purple color. In the RGB color model, it is composed of 126 red, 81 green, and 200 blue. In the HSL color space, it has a hue of 263°, saturation of 52%, and lightness of 55%.
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 #7E51C8 in your CSS, SCSS, or Tailwind projects.
Color Properties
263°
Hue
52%
Saturation
55%
Lightness
Purple
Color Harmonies
Colors that work well with #7E51C8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7E51C8 against white and black backgrounds.
Aa#7E51C8 on White
Contrast Ratio5.39:1
AA ✓AA Large ✓AAA ✗
Aa#7E51C8 on Black
Contrast Ratio3.9:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7E51C8 across different color formats.
| Format | Value |
|---|---|
| HEX | #7E51C8 |
| RGB | rgb(126, 81, 200) |
| HSL | hsl(263, 52%, 55%) |
| RGB Decimal | 126, 81, 200 |
| RGB Percent | 49.4%, 31.8%, 78.4% |
| CMYK (approx.) | 37%, 60%, 0%, 22% |
Related Palettes
12 palettes using #7E51C8 or similar colors