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