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