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