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