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