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