#987dfe ≈ Medium Purple
#987dfe is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 59.61% red, 49.02% green and 99.61% blue; printed in CMYK it uses 40.16% cyan, 50.79% magenta, 0% yellow and 0.39% black. Its hue angle is 252.56°, with 98.47% 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.7:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.29.
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.285 |
Shades
#987dfe mixed progressively with black.
Tints
#987dfe mixed progressively with white.
Tones
#987dfe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-987dfe {
color: #987dfe;
}
.bg-987dfe {
background-color: #987dfe;
color: #000000;
}
.border-987dfe {
border: 2px solid #987dfe;
}
:root {
--color-primary: #987dfe;
--color-primary-rgb: 152 125 254;
--color-primary-hsl: 253 98% 74%;
}
.gradient-987dfe {
background: linear-gradient(135deg, #987dfe, #d87dfe);
}
.shadow-987dfe {
box-shadow: 0 8px 24px rgb(152 125 254 / 0.35);
}
Medium Purple
#987dfe rgb(152, 125, 254) hsl(253, 98%, 74%) Medium Purple
#e3fe7d rgb(227, 254, 125) hsl(73, 98%, 74%) Pastel Yellow
#fe987d rgb(254, 152, 125) hsl(13, 98%, 74%) Vivid Tangerine
#7dfe98 rgb(125, 254, 152) hsl(133, 98%, 74%) Mint Green