#8A4EC6
Purple
HEX
RGB
HSL
About #8A4EC6 Purple
#8A4EC6 is a purple color. In the RGB color model, it is composed of 138 red, 78 green, and 198 blue. In the HSL color space, it has a hue of 270°, saturation of 51%, 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 #8A4EC6 in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
51%
Saturation
54%
Lightness
Purple
Color Harmonies
Colors that work well with #8A4EC6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8A4EC6 against white and black backgrounds.
Aa#8A4EC6 on White
Contrast Ratio5.27:1
AA ✓AA Large ✓AAA ✗
Aa#8A4EC6 on Black
Contrast Ratio3.99:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #8A4EC6 across different color formats.
| Format | Value |
|---|---|
| HEX | #8A4EC6 |
| RGB | rgb(138, 78, 198) |
| HSL | hsl(270, 51%, 54%) |
| RGB Decimal | 138, 78, 198 |
| RGB Percent | 54.1%, 30.6%, 77.6% |
| CMYK (approx.) | 30%, 61%, 0%, 22% |
Related Palettes
12 palettes using #8A4EC6 or similar colors