#7F12A1
Purple
HEX
RGB
HSL
About #7F12A1 Purple
#7F12A1 is a purple color. In the RGB color model, it is composed of 127 red, 18 green, and 161 blue. In the HSL color space, it has a hue of 286°, saturation of 80%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #7F12A1 in your CSS, SCSS, or Tailwind projects.
Color Properties
286°
Hue
80%
Saturation
35%
Lightness
Purple
Color Harmonies
Colors that work well with #7F12A1 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7F12A1 against white and black backgrounds.
Aa#7F12A1 on White
Contrast Ratio8.39:1
AA ✓AA Large ✓AAA ✓
Aa#7F12A1 on Black
Contrast Ratio2.5:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #7F12A1 across different color formats.
| Format | Value |
|---|---|
| HEX | #7F12A1 |
| RGB | rgb(127, 18, 161) |
| HSL | hsl(286, 80%, 35%) |
| RGB Decimal | 127, 18, 161 |
| RGB Percent | 49.8%, 7.1%, 63.1% |
| CMYK (approx.) | 21%, 89%, 0%, 37% |
Related Palettes
12 palettes using #7F12A1 or similar colors