#BA7FE4
Purple
HEX
RGB
HSL
About #BA7FE4 Purple
#BA7FE4 is a purple color. In the RGB color model, it is composed of 186 red, 127 green, and 228 blue. In the HSL color space, it has a hue of 275°, saturation of 65%, 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 & Gradients
Use #BA7FE4 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
275°
Hue
65%
Saturation
70%
Lightness
Purple
Color Harmonies
Colors that work well with #BA7FE4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #BA7FE4 against white and black backgrounds.
Aa#BA7FE4 on White
Contrast Ratio2.9:1
AA ✗AA Large ✗AAA ✗
Aa#BA7FE4 on Black
Contrast Ratio7.24:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #BA7FE4 across different color formats.
| Format | Value |
|---|---|
| HEX | #BA7FE4 |
| RGB | rgb(186, 127, 228) |
| HSL | hsl(275, 65%, 70%) |
| RGB Decimal | 186, 127, 228 |
| RGB Percent | 72.9%, 49.8%, 89.4% |
| CMYK (approx.) | 18%, 44%, 0%, 11% |
Related Palettes
12 palettes using #BA7FE4 or similar colors