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