#781B98
Purple
HEX
RGB
HSL
About #781B98 Purple
#781B98 is a purple color. In the RGB color model, it is composed of 120 red, 27 green, and 152 blue. In the HSL color space, it has a hue of 285°, saturation of 70%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #781B98 in your CSS, SCSS, or Tailwind projects.
Color Properties
285°
Hue
70%
Saturation
35%
Lightness
Purple
Color Harmonies
Colors that work well with #781B98 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #781B98 against white and black backgrounds.
Aa#781B98 on White
Contrast Ratio8.72:1
AA ✓AA Large ✓AAA ✓
Aa#781B98 on Black
Contrast Ratio2.41:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #781B98 across different color formats.
| Format | Value |
|---|---|
| HEX | #781B98 |
| RGB | rgb(120, 27, 152) |
| HSL | hsl(285, 70%, 35%) |
| RGB Decimal | 120, 27, 152 |
| RGB Percent | 47.1%, 10.6%, 59.6% |
| CMYK (approx.) | 21%, 82%, 0%, 40% |
Related Palettes
12 palettes using #781B98 or similar colors