#9872cc ≈ Medium Purple
#9872cc 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 80% blue; printed in CMYK it uses 25.49% cyan, 44.12% magenta, 0% yellow and 20% black. Its hue angle is 265.33°, with 46.88% saturation and 62.35% 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.61:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 3.29.
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.2307 |
Shades
#9872cc mixed progressively with black.
Tints
#9872cc mixed progressively with white.
Tones
#9872cc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9872cc {
color: #9872cc;
}
.bg-9872cc {
background-color: #9872cc;
color: #000000;
}
.border-9872cc {
border: 2px solid #9872cc;
}
:root {
--color-primary: #9872cc;
--color-primary-rgb: 152 114 204;
--color-primary-hsl: 265 47% 62%;
}
.gradient-9872cc {
background: linear-gradient(135deg, #9872cc, #c572cc);
}
.shadow-9872cc {
box-shadow: 0 8px 24px rgb(152 114 204 / 0.35);
}
Medium Purple
#9872cc rgb(152, 114, 204) hsl(265, 47%, 62%) Medium Purple
#a6cc72 rgb(166, 204, 114) hsl(85, 47%, 62%) Pistachio
#cc9872 rgb(204, 152, 114) hsl(25, 47%, 62%) Tumbleweed
#72cc98 rgb(114, 204, 152) hsl(145, 47%, 62%) Medium Aquamarine