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