#987FD7
Purple
HEX
RGB
HSL
About #987FD7 Purple
#987FD7 is a purple color. In the RGB color model, it is composed of 152 red, 127 green, and 215 blue. In the HSL color space, it has a hue of 257°, saturation of 52%, and lightness of 67%.
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 #987FD7 in your CSS, SCSS, or Tailwind projects.
Color Properties
257°
Hue
52%
Saturation
67%
Lightness
Purple
Color Harmonies
Colors that work well with #987FD7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #987FD7 against white and black backgrounds.
Aa#987FD7 on White
Contrast Ratio3.31:1
AA ✗AA Large ✓AAA ✗
Aa#987FD7 on Black
Contrast Ratio6.35:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #987FD7 across different color formats.
| Format | Value |
|---|---|
| HEX | #987FD7 |
| RGB | rgb(152, 127, 215) |
| HSL | hsl(257, 52%, 67%) |
| RGB Decimal | 152, 127, 215 |
| RGB Percent | 59.6%, 49.8%, 84.3% |
| CMYK (approx.) | 29%, 41%, 0%, 16% |
Related Palettes
12 palettes using #987FD7 or similar colors