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