#9872db ≈ Medium Purple
#9872db 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 85.88% blue; printed in CMYK it uses 30.59% cyan, 47.95% magenta, 0% yellow and 14.12% black. Its hue angle is 261.71°, with 59.32% saturation and 65.29% 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.76:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 1.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.2382 |
Shades
#9872db mixed progressively with black.
Tints
#9872db mixed progressively with white.
Tones
#9872db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9872db {
color: #9872db;
}
.bg-9872db {
background-color: #9872db;
color: #000000;
}
.border-9872db {
border: 2px solid #9872db;
}
:root {
--color-primary: #9872db;
--color-primary-rgb: 152 114 219;
--color-primary-hsl: 262 59% 65%;
}
.gradient-9872db {
background: linear-gradient(135deg, #9872db, #cc72db);
}
.shadow-9872db {
box-shadow: 0 8px 24px rgb(152 114 219 / 0.35);
}
Medium Purple
#9872db rgb(152, 114, 219) hsl(262, 59%, 65%) Medium Purple
#b5db72 rgb(181, 219, 114) hsl(82, 59%, 65%) June Bud
#db9872 rgb(219, 152, 114) hsl(22, 59%, 65%) Raw Sienna
#72db98 rgb(114, 219, 152) hsl(142, 59%, 65%) Emerald