#781FC7
Purple
HEX
RGB
HSL
About #781FC7 Purple
#781FC7 is a purple color. In the RGB color model, it is composed of 120 red, 31 green, and 199 blue. In the HSL color space, it has a hue of 272°, saturation of 73%, and lightness of 45%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #781FC7 in your CSS, SCSS, or Tailwind projects.
Color Properties
272°
Hue
73%
Saturation
45%
Lightness
Purple
Color Harmonies
Colors that work well with #781FC7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #781FC7 against white and black backgrounds.
Aa#781FC7 on White
Contrast Ratio7.45:1
AA ✓AA Large ✓AAA ✓
Aa#781FC7 on Black
Contrast Ratio2.82:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #781FC7 across different color formats.
| Format | Value |
|---|---|
| HEX | #781FC7 |
| RGB | rgb(120, 31, 199) |
| HSL | hsl(272, 73%, 45%) |
| RGB Decimal | 120, 31, 199 |
| RGB Percent | 47.1%, 12.2%, 78.0% |
| CMYK (approx.) | 40%, 84%, 0%, 22% |
Related Palettes
12 palettes using #781FC7 or similar colors