#7F31AF
Purple
HEX
RGB
HSL
About #7F31AF Purple
#7F31AF is a purple color. In the RGB color model, it is composed of 127 red, 49 green, and 175 blue. In the HSL color space, it has a hue of 277°, saturation of 56%, and lightness of 44%.
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 #7F31AF in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
277°
Hue
56%
Saturation
44%
Lightness
Purple
Color Harmonies
Colors that work well with #7F31AF based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7F31AF against white and black backgrounds.
Aa#7F31AF on White
Contrast Ratio7.09:1
AA ✓AA Large ✓AAA ✓
Aa#7F31AF on Black
Contrast Ratio2.96:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #7F31AF across different color formats.
| Format | Value |
|---|---|
| HEX | #7F31AF |
| RGB | rgb(127, 49, 175) |
| HSL | hsl(277, 56%, 44%) |
| RGB Decimal | 127, 49, 175 |
| RGB Percent | 49.8%, 19.2%, 68.6% |
| CMYK (approx.) | 27%, 72%, 0%, 31% |
Related Palettes
12 palettes using #7F31AF or similar colors