#9840CE
Purple
HEX
RGB
HSL
About #9840CE Purple
#9840CE is a purple color. In the RGB color model, it is composed of 152 red, 64 green, and 206 blue. In the HSL color space, it has a hue of 277°, saturation of 59%, and lightness of 53%.
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 & Gradients
Use #9840CE in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
277°
Hue
59%
Saturation
53%
Lightness
Purple
Color Harmonies
Colors that work well with #9840CE based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #9840CE against white and black backgrounds.
Aa#9840CE on White
Contrast Ratio5.3:1
AA ✓AA Large ✓AAA ✗
Aa#9840CE on Black
Contrast Ratio3.96:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #9840CE across different color formats.
| Format | Value |
|---|---|
| HEX | #9840CE |
| RGB | rgb(152, 64, 206) |
| HSL | hsl(277, 59%, 53%) |
| RGB Decimal | 152, 64, 206 |
| RGB Percent | 59.6%, 25.1%, 80.8% |
| CMYK (approx.) | 26%, 69%, 0%, 19% |
Related Palettes
12 palettes using #9840CE or similar colors