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