#7F45A5
Purple
HEX
RGB
HSL
About #7F45A5 Purple
#7F45A5 is a purple color. In the RGB color model, it is composed of 127 red, 69 green, and 165 blue. In the HSL color space, it has a hue of 276°, saturation of 41%, 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 #7F45A5 in your CSS, SCSS, or Tailwind projects.
Color Properties
276°
Hue
41%
Saturation
46%
Lightness
Purple
Color Harmonies
Colors that work well with #7F45A5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7F45A5 against white and black backgrounds.
Aa#7F45A5 on White
Contrast Ratio6.37:1
AA ✓AA Large ✓AAA ✗
Aa#7F45A5 on Black
Contrast Ratio3.3:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7F45A5 across different color formats.
| Format | Value |
|---|---|
| HEX | #7F45A5 |
| RGB | rgb(127, 69, 165) |
| HSL | hsl(276, 41%, 46%) |
| RGB Decimal | 127, 69, 165 |
| RGB Percent | 49.8%, 27.1%, 64.7% |
| CMYK (approx.) | 23%, 58%, 0%, 35% |
Related Palettes
12 palettes using #7F45A5 or similar colors