#8A42E8
Purple
HEX
RGB
HSL
About #8A42E8 Purple
#8A42E8 is a purple color. In the RGB color model, it is composed of 138 red, 66 green, and 232 blue. In the HSL color space, it has a hue of 266°, saturation of 78%, and lightness of 58%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #8A42E8 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
266°
Hue
78%
Saturation
58%
Lightness
Purple
Color Harmonies
Colors that work well with #8A42E8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8A42E8 against white and black backgrounds.
Aa#8A42E8 on White
Contrast Ratio5.22:1
AA ✓AA Large ✓AAA ✗
Aa#8A42E8 on Black
Contrast Ratio4.03:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #8A42E8 across different color formats.
| Format | Value |
|---|---|
| HEX | #8A42E8 |
| RGB | rgb(138, 66, 232) |
| HSL | hsl(266, 78%, 58%) |
| RGB Decimal | 138, 66, 232 |
| RGB Percent | 54.1%, 25.9%, 91.0% |
| CMYK (approx.) | 41%, 72%, 0%, 9% |
Related Palettes
12 palettes using #8A42E8 or similar colors