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