#BA78DD
Purple
HEX
RGB
HSL
About #BA78DD Purple
#BA78DD is a purple color. In the RGB color model, it is composed of 186 red, 120 green, and 221 blue. In the HSL color space, it has a hue of 279°, saturation of 60%, and lightness of 67%.
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 & Gradients
Use #BA78DD in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
279°
Hue
60%
Saturation
67%
Lightness
Purple
Color Harmonies
Colors that work well with #BA78DD based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #BA78DD against white and black backgrounds.
Aa#BA78DD on White
Contrast Ratio3.08:1
AA ✗AA Large ✓AAA ✗
Aa#BA78DD on Black
Contrast Ratio6.82:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #BA78DD across different color formats.
| Format | Value |
|---|---|
| HEX | #BA78DD |
| RGB | rgb(186, 120, 221) |
| HSL | hsl(279, 60%, 67%) |
| RGB Decimal | 186, 120, 221 |
| RGB Percent | 72.9%, 47.1%, 86.7% |
| CMYK (approx.) | 16%, 46%, 0%, 13% |
Related Palettes
12 palettes using #BA78DD or similar colors