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