#B172E4
Purple
HEX
RGB
HSL
About #B172E4 Purple
#B172E4 is a purple color. In the RGB color model, it is composed of 177 red, 114 green, and 228 blue. In the HSL color space, it has a hue of 273°, saturation of 68%, 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
Use #B172E4 in your CSS, SCSS, or Tailwind projects.
Color Properties
273°
Hue
68%
Saturation
67%
Lightness
Purple
Color Harmonies
Colors that work well with #B172E4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #B172E4 against white and black backgrounds.
Aa#B172E4 on White
Contrast Ratio3.28:1
AA ✗AA Large ✓AAA ✗
Aa#B172E4 on Black
Contrast Ratio6.4:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #B172E4 across different color formats.
| Format | Value |
|---|---|
| HEX | #B172E4 |
| RGB | rgb(177, 114, 228) |
| HSL | hsl(273, 68%, 67%) |
| RGB Decimal | 177, 114, 228 |
| RGB Percent | 69.4%, 44.7%, 89.4% |
| CMYK (approx.) | 22%, 50%, 0%, 11% |
Related Palettes
12 palettes using #B172E4 or similar colors