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