#9878ec ≈ Medium Purple
#9878ec is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 59.61% red, 47.06% green and 92.55% blue; printed in CMYK it uses 35.59% cyan, 49.15% magenta, 0% yellow and 7.45% black. Its hue angle is 256.55°, with 75.32% saturation and 69.8% 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.23:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 3.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.2616 |
Shades
#9878ec mixed progressively with black.
Tints
#9878ec mixed progressively with white.
Tones
#9878ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9878ec {
color: #9878ec;
}
.bg-9878ec {
background-color: #9878ec;
color: #000000;
}
.border-9878ec {
border: 2px solid #9878ec;
}
:root {
--color-primary: #9878ec;
--color-primary-rgb: 152 120 236;
--color-primary-hsl: 257 75% 70%;
}
.gradient-9878ec {
background: linear-gradient(135deg, #9878ec, #d278ec);
}
.shadow-9878ec {
box-shadow: 0 8px 24px rgb(152 120 236 / 0.35);
}
Medium Purple
#9878ec rgb(152, 120, 236) hsl(257, 75%, 70%) Medium Purple
#ccec78 rgb(204, 236, 120) hsl(77, 75%, 70%) Inchworm
#ec9878 rgb(236, 152, 120) hsl(17, 75%, 70%) Dark Salmon
#78ec98 rgb(120, 236, 152) hsl(137, 75%, 70%) Light Green