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