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