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