#8F42C2
Purple
HEX
RGB
HSL
About #8F42C2 Purple
#8F42C2 is a purple color. In the RGB color model, it is composed of 143 red, 66 green, and 194 blue. In the HSL color space, it has a hue of 276°, saturation of 51%, and lightness of 51%.
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 & Gradients
Use #8F42C2 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
276°
Hue
51%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #8F42C2 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8F42C2 against white and black backgrounds.
Aa#8F42C2 on White
Contrast Ratio5.64:1
AA ✓AA Large ✓AAA ✗
Aa#8F42C2 on Black
Contrast Ratio3.73:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #8F42C2 across different color formats.
| Format | Value |
|---|---|
| HEX | #8F42C2 |
| RGB | rgb(143, 66, 194) |
| HSL | hsl(276, 51%, 51%) |
| RGB Decimal | 143, 66, 194 |
| RGB Percent | 56.1%, 25.9%, 76.1% |
| CMYK (approx.) | 26%, 66%, 0%, 24% |
Related Palettes
12 palettes using #8F42C2 or similar colors