#7F38C2
Purple
HEX
RGB
HSL
About #7F38C2 Purple
#7F38C2 is a purple color. In the RGB color model, it is composed of 127 red, 56 green, and 194 blue. In the HSL color space, it has a hue of 271°, saturation of 55%, 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 #7F38C2 in your CSS, SCSS, or Tailwind projects.
Color Properties
271°
Hue
55%
Saturation
49%
Lightness
Purple
Color Harmonies
Colors that work well with #7F38C2 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7F38C2 against white and black backgrounds.
Aa#7F38C2 on White
Contrast Ratio6.47:1
AA ✓AA Large ✓AAA ✗
Aa#7F38C2 on Black
Contrast Ratio3.25:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7F38C2 across different color formats.
| Format | Value |
|---|---|
| HEX | #7F38C2 |
| RGB | rgb(127, 56, 194) |
| HSL | hsl(271, 55%, 49%) |
| RGB Decimal | 127, 56, 194 |
| RGB Percent | 49.8%, 22.0%, 76.1% |
| CMYK (approx.) | 35%, 71%, 0%, 24% |
Related Palettes
12 palettes using #7F38C2 or similar colors