#7840B0
Purple
HEX
RGB
HSL
About #7840B0 Purple
#7840B0 is a purple color. In the RGB color model, it is composed of 120 red, 64 green, and 176 blue. In the HSL color space, it has a hue of 270°, saturation of 47%, and lightness of 47%.
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 #7840B0 in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
47%
Saturation
47%
Lightness
Purple
Color Harmonies
Colors that work well with #7840B0 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7840B0 against white and black backgrounds.
Aa#7840B0 on White
Contrast Ratio6.65:1
AA ✓AA Large ✓AAA ✗
Aa#7840B0 on Black
Contrast Ratio3.16:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7840B0 across different color formats.
| Format | Value |
|---|---|
| HEX | #7840B0 |
| RGB | rgb(120, 64, 176) |
| HSL | hsl(270, 47%, 47%) |
| RGB Decimal | 120, 64, 176 |
| RGB Percent | 47.1%, 25.1%, 69.0% |
| CMYK (approx.) | 32%, 64%, 0%, 31% |
Related Palettes
12 palettes using #7840B0 or similar colors