#BA87E6
Purple
HEX
RGB
HSL
About #BA87E6 Purple
#BA87E6 is a purple color. In the RGB color model, it is composed of 186 red, 135 green, and 230 blue. In the HSL color space, it has a hue of 272°, saturation of 66%, and lightness of 72%.
This color has a high lightness value, making it a light color suitable for backgrounds. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #BA87E6 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
272°
Hue
66%
Saturation
72%
Lightness
Purple
Color Harmonies
Colors that work well with #BA87E6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #BA87E6 against white and black backgrounds.
Aa#BA87E6 on White
Contrast Ratio2.73:1
AA ✗AA Large ✗AAA ✗
Aa#BA87E6 on Black
Contrast Ratio7.7:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #BA87E6 across different color formats.
| Format | Value |
|---|---|
| HEX | #BA87E6 |
| RGB | rgb(186, 135, 230) |
| HSL | hsl(272, 66%, 72%) |
| RGB Decimal | 186, 135, 230 |
| RGB Percent | 72.9%, 52.9%, 90.2% |
| CMYK (approx.) | 19%, 41%, 0%, 10% |
Related Palettes
12 palettes using #BA87E6 or similar colors