#7C40B0
Purple
HEX
RGB
HSL
About #7C40B0 Purple
#7C40B0 is a purple color. In the RGB color model, it is composed of 124 red, 64 green, and 176 blue. In the HSL color space, it has a hue of 272°, saturation of 47%, 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
Use #7C40B0 in your CSS, SCSS, or Tailwind projects.
Color Properties
272°
Hue
47%
Saturation
47%
Lightness
Purple
Color Harmonies
Colors that work well with #7C40B0 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #7C40B0 against white and black backgrounds.
Aa#7C40B0 on White
Contrast Ratio6.53:1
AA ✓AA Large ✓AAA ✗
Aa#7C40B0 on Black
Contrast Ratio3.22:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #7C40B0 across different color formats.
| Format | Value |
|---|---|
| HEX | #7C40B0 |
| RGB | rgb(124, 64, 176) |
| HSL | hsl(272, 47%, 47%) |
| RGB Decimal | 124, 64, 176 |
| RGB Percent | 48.6%, 25.1%, 69.0% |
| CMYK (approx.) | 30%, 64%, 0%, 31% |
Related Palettes
12 palettes using #7C40B0 or similar colors