#c797bd ≈ Lilac
#c797bd is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 78.04% red, 59.22% green and 74.12% blue; printed in CMYK it uses 0% cyan, 24.12% magenta, 5.03% yellow and 21.96% black. Its hue angle is 312.5°, with 30% saturation and 68.63% 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.59:1 (WCAG AAA). The closest named color is Lilac (#c8a2c8), ΔE 3.42.
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.3795 |
Shades
#c797bd mixed progressively with black.
Tints
#c797bd mixed progressively with white.
Tones
#c797bd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c797bd {
color: #c797bd;
}
.bg-c797bd {
background-color: #c797bd;
color: #000000;
}
.border-c797bd {
border: 2px solid #c797bd;
}
:root {
--color-primary: #c797bd;
--color-primary-rgb: 199 151 189;
--color-primary-hsl: 313 30% 69%;
}
.gradient-c797bd {
background: linear-gradient(135deg, #c797bd, #c797a5);
}
.shadow-c797bd {
box-shadow: 0 8px 24px rgb(199 151 189 / 0.35);
}
Lilac
#c797bd rgb(199, 151, 189) hsl(313, 30%, 69%) Lilac
#97c7a1 rgb(151, 199, 161) hsl(133, 30%, 69%) Dark Sea Green
#bdc797 rgb(189, 199, 151) hsl(73, 30%, 69%) Sage
#97bdc7 rgb(151, 189, 199) hsl(193, 30%, 69%) Pastel Blue