#987def ≈ Medium Purple
#987def 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.02% green and 93.73% blue; printed in CMYK it uses 36.4% cyan, 47.7% magenta, 0% yellow and 6.27% black. Its hue angle is 254.21°, with 78.08% saturation and 71.37% 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 brand accents. Black text on this color reaches a contrast ratio of 6.51:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.72.
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.2757 |
Shades
#987def mixed progressively with black.
Tints
#987def mixed progressively with white.
Tones
#987def mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-987def {
color: #987def;
}
.bg-987def {
background-color: #987def;
color: #000000;
}
.border-987def {
border: 2px solid #987def;
}
:root {
--color-primary: #987def;
--color-primary-rgb: 152 125 239;
--color-primary-hsl: 254 78% 71%;
}
.gradient-987def {
background: linear-gradient(135deg, #987def, #d17def);
}
.shadow-987def {
box-shadow: 0 8px 24px rgb(152 125 239 / 0.35);
}
Medium Purple
#987def rgb(152, 125, 239) hsl(254, 78%, 71%) Medium Purple
#d4ef7d rgb(212, 239, 125) hsl(74, 78%, 71%) June Bud
#ef987d rgb(239, 152, 125) hsl(14, 78%, 71%) Dark Salmon
#7def98 rgb(125, 239, 152) hsl(134, 78%, 71%) Light Green