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