#BA5BD7
Purple
HEX
RGB
HSL
About #BA5BD7 Purple
#BA5BD7 is a purple color. In the RGB color model, it is composed of 186 red, 91 green, and 215 blue. In the HSL color space, it has a hue of 286°, saturation of 61%, and lightness of 60%.
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 #BA5BD7 in your CSS, SCSS, or Tailwind projects.
Color Properties
286°
Hue
61%
Saturation
60%
Lightness
Purple
Color Harmonies
Colors that work well with #BA5BD7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #BA5BD7 against white and black backgrounds.
Aa#BA5BD7 on White
Contrast Ratio3.77:1
AA ✗AA Large ✓AAA ✗
Aa#BA5BD7 on Black
Contrast Ratio5.57:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #BA5BD7 across different color formats.
| Format | Value |
|---|---|
| HEX | #BA5BD7 |
| RGB | rgb(186, 91, 215) |
| HSL | hsl(286, 61%, 60%) |
| RGB Decimal | 186, 91, 215 |
| RGB Percent | 72.9%, 35.7%, 84.3% |
| CMYK (approx.) | 13%, 58%, 0%, 16% |
Related Palettes
12 palettes using #BA5BD7 or similar colors