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