#8A2ED4
Purple
HEX
RGB
HSL
About #8A2ED4 Purple
#8A2ED4 is a purple color. In the RGB color model, it is composed of 138 red, 46 green, and 212 blue. In the HSL color space, it has a hue of 273°, saturation of 66%, 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 #8A2ED4 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
273°
Hue
66%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #8A2ED4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8A2ED4 against white and black backgrounds.
Aa#8A2ED4 on White
Contrast Ratio6.14:1
AA ✓AA Large ✓AAA ✗
Aa#8A2ED4 on Black
Contrast Ratio3.42:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #8A2ED4 across different color formats.
| Format | Value |
|---|---|
| HEX | #8A2ED4 |
| RGB | rgb(138, 46, 212) |
| HSL | hsl(273, 66%, 51%) |
| RGB Decimal | 138, 46, 212 |
| RGB Percent | 54.1%, 18.0%, 83.1% |
| CMYK (approx.) | 35%, 78%, 0%, 17% |
Related Palettes
12 palettes using #8A2ED4 or similar colors