#cd98c4 ≈ Lilac
#cd98c4 is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 80.39% red, 59.61% green and 76.86% blue; printed in CMYK it uses 0% cyan, 25.85% magenta, 4.39% yellow and 19.61% black. Its hue angle is 310.19°, with 34.64% saturation and 70% 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.88:1 (WCAG AAA). The closest named color is Lilac (#c8a2c8), ΔE 3.63.
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.3942 |
Shades
#cd98c4 mixed progressively with black.
Tints
#cd98c4 mixed progressively with white.
Tones
#cd98c4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd98c4 {
color: #cd98c4;
}
.bg-cd98c4 {
background-color: #cd98c4;
color: #000000;
}
.border-cd98c4 {
border: 2px solid #cd98c4;
}
:root {
--color-primary: #cd98c4;
--color-primary-rgb: 205 152 196;
--color-primary-hsl: 310 35% 70%;
}
.gradient-cd98c4 {
background: linear-gradient(135deg, #cd98c4, #cd98a9);
}
.shadow-cd98c4 {
box-shadow: 0 8px 24px rgb(205 152 196 / 0.35);
}
Lilac
#cd98c4 rgb(205, 152, 196) hsl(310, 35%, 70%) Lilac
#98cda1 rgb(152, 205, 161) hsl(130, 35%, 70%) Dark Sea Green
#c4cd98 rgb(196, 205, 152) hsl(70, 35%, 70%) Sage
#98c4cd rgb(152, 196, 205) hsl(190, 35%, 70%) Light Blue