#987ec4 ≈ Purple Mountain Majesty
#987ec4 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.41% green and 76.86% blue; printed in CMYK it uses 22.45% cyan, 35.71% magenta, 0% yellow and 23.14% black. Its hue angle is 262.29°, with 37.23% saturation and 63.14% 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.12:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 3.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2558 |
Shades
#987ec4 mixed progressively with black.
Tints
#987ec4 mixed progressively with white.
Tones
#987ec4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-987ec4 {
color: #987ec4;
}
.bg-987ec4 {
background-color: #987ec4;
color: #000000;
}
.border-987ec4 {
border: 2px solid #987ec4;
}
:root {
--color-primary: #987ec4;
--color-primary-rgb: 152 126 196;
--color-primary-hsl: 262 37% 63%;
}
.gradient-987ec4 {
background: linear-gradient(135deg, #987ec4, #bb7ec4);
}
.shadow-987ec4 {
box-shadow: 0 8px 24px rgb(152 126 196 / 0.35);
}
Purple Mountain Majesty
#987ec4 rgb(152, 126, 196) hsl(262, 37%, 63%) Purple Mountain Majesty
#aac47e rgb(170, 196, 126) hsl(82, 37%, 63%) Olivine
#c4987e rgb(196, 152, 126) hsl(22, 37%, 63%) Tumbleweed
#7ec498 rgb(126, 196, 152) hsl(142, 37%, 63%) Dark Sea Green