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