#840CB3
Vivid Purple
HEX
RGB
HSL
About #840CB3 Vivid Purple
#840CB3 is a vivid purple color. In the RGB color model, it is composed of 132 red, 12 green, and 179 blue. In the HSL color space, it has a hue of 283°, saturation of 87%, and lightness of 37%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #840CB3 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
283°
Hue
87%
Saturation
37%
Lightness
Vivid Purple
Color Harmonies
Colors that work well with #840CB3 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #840CB3 against white and black backgrounds.
Aa#840CB3 on White
Contrast Ratio7.82:1
AA ✓AA Large ✓AAA ✓
Aa#840CB3 on Black
Contrast Ratio2.68:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #840CB3 across different color formats.
| Format | Value |
|---|---|
| HEX | #840CB3 |
| RGB | rgb(132, 12, 179) |
| HSL | hsl(283, 87%, 37%) |
| RGB Decimal | 132, 12, 179 |
| RGB Percent | 51.8%, 4.7%, 70.2% |
| CMYK (approx.) | 26%, 93%, 0%, 30% |
Related Palettes
12 palettes using #840CB3 or similar colors