#987ffc ≈ Medium Purple
#987ffc is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 59.61% red, 49.8% green and 98.82% blue; printed in CMYK it uses 39.68% cyan, 49.6% magenta, 0% yellow and 1.18% black. Its hue angle is 252°, with 95.42% saturation and 74.31% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 6.78:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2888 |
Shades
#987ffc mixed progressively with black.
Tints
#987ffc mixed progressively with white.
Tones
#987ffc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-987ffc {
color: #987ffc;
}
.bg-987ffc {
background-color: #987ffc;
color: #000000;
}
.border-987ffc {
border: 2px solid #987ffc;
}
:root {
--color-primary: #987ffc;
--color-primary-rgb: 152 127 252;
--color-primary-hsl: 252 95% 74%;
}
.gradient-987ffc {
background: linear-gradient(135deg, #987ffc, #d67ffc);
}
.shadow-987ffc {
box-shadow: 0 8px 24px rgb(152 127 252 / 0.35);
}
Medium Purple
#987ffc rgb(152, 127, 252) hsl(252, 95%, 74%) Medium Purple
#e3fc7f rgb(227, 252, 127) hsl(72, 95%, 74%) Pastel Yellow
#fc987f rgb(252, 152, 127) hsl(12, 95%, 74%) Vivid Tangerine
#7ffc98 rgb(127, 252, 152) hsl(132, 95%, 74%) Pale Green