#9872ec ≈ Medium Purple
#9872ec is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 59.61% red, 44.71% green and 92.55% blue; printed in CMYK it uses 35.59% cyan, 51.69% magenta, 0% yellow and 7.45% black. Its hue angle is 258.69°, with 76.25% saturation and 68.63% 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 5.95:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 2.68.
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.2477 |
Shades
#9872ec mixed progressively with black.
Tints
#9872ec mixed progressively with white.
Tones
#9872ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9872ec {
color: #9872ec;
}
.bg-9872ec {
background-color: #9872ec;
color: #000000;
}
.border-9872ec {
border: 2px solid #9872ec;
}
:root {
--color-primary: #9872ec;
--color-primary-rgb: 152 114 236;
--color-primary-hsl: 259 76% 69%;
}
.gradient-9872ec {
background: linear-gradient(135deg, #9872ec, #d572ec);
}
.shadow-9872ec {
box-shadow: 0 8px 24px rgb(152 114 236 / 0.35);
}
Medium Purple
#9872ec rgb(152, 114, 236) hsl(259, 76%, 69%) Medium Purple
#c6ec72 rgb(198, 236, 114) hsl(79, 76%, 69%) Inchworm
#ec9872 rgb(236, 152, 114) hsl(19, 76%, 69%) Dark Salmon
#72ec98 rgb(114, 236, 152) hsl(139, 76%, 69%) Light Green