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