#8D31D8
Purple
HEX
RGB
HSL
About #8D31D8 Purple
#8D31D8 is a purple color. In the RGB color model, it is composed of 141 red, 49 green, and 216 blue. In the HSL color space, it has a hue of 273°, saturation of 68%, and lightness of 52%.
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 #8D31D8 in your CSS, SCSS, or Tailwind projects.
Color Properties
273°
Hue
68%
Saturation
52%
Lightness
Purple
Color Harmonies
Colors that work well with #8D31D8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8D31D8 against white and black backgrounds.
Aa#8D31D8 on White
Contrast Ratio5.89:1
AA ✓AA Large ✓AAA ✗
Aa#8D31D8 on Black
Contrast Ratio3.56:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #8D31D8 across different color formats.
| Format | Value |
|---|---|
| HEX | #8D31D8 |
| RGB | rgb(141, 49, 216) |
| HSL | hsl(273, 68%, 52%) |
| RGB Decimal | 141, 49, 216 |
| RGB Percent | 55.3%, 19.2%, 84.7% |
| CMYK (approx.) | 35%, 77%, 0%, 15% |
Related Palettes
12 palettes using #8D31D8 or similar colors