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