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