#d98ce5 ≈ Violet
#d98ce5 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 54.9% green and 89.8% blue; printed in CMYK it uses 5.24% cyan, 38.86% magenta, 0% yellow and 10.2% black. Its hue angle is 291.91°, with 63.12% saturation and 72.35% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 8.83:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc99cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3917 |
Shades
#d98ce5 mixed progressively with black.
Tints
#d98ce5 mixed progressively with white.
Tones
#d98ce5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d98ce5 {
color: #d98ce5;
}
.bg-d98ce5 {
background-color: #d98ce5;
color: #000000;
}
.border-d98ce5 {
border: 2px solid #d98ce5;
}
:root {
--color-primary: #d98ce5;
--color-primary-rgb: 217 140 229;
--color-primary-hsl: 292 63% 72%;
}
.gradient-d98ce5 {
background: linear-gradient(135deg, #d98ce5, #e58cc4);
}
.shadow-d98ce5 {
box-shadow: 0 8px 24px rgb(217 140 229 / 0.35);
}
Violet
#d98ce5 rgb(217, 140, 229) hsl(292, 63%, 72%) Violet
#98e58c rgb(152, 229, 140) hsl(112, 63%, 72%) Light Green
#e5d98c rgb(229, 217, 140) hsl(52, 63%, 72%) Flax
#8ce5d9 rgb(140, 229, 217) hsl(172, 63%, 72%) Turquoise