#c28cb2 ≈ Lilac
#c28cb2 is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 76.08% red, 54.9% green and 69.8% blue; printed in CMYK it uses 0% cyan, 27.84% magenta, 8.25% yellow and 23.92% black. Its hue angle is 317.78°, with 30.68% saturation and 65.49% 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 7.69:1 (WCAG AAA). The closest named color is Lilac (#c8a2c8), ΔE 6.48.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9999 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3344 |
Shades
#c28cb2 mixed progressively with black.
Tints
#c28cb2 mixed progressively with white.
Tones
#c28cb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c28cb2 {
color: #c28cb2;
}
.bg-c28cb2 {
background-color: #c28cb2;
color: #000000;
}
.border-c28cb2 {
border: 2px solid #c28cb2;
}
:root {
--color-primary: #c28cb2;
--color-primary-rgb: 194 140 178;
--color-primary-hsl: 318 31% 65%;
}
.gradient-c28cb2 {
background: linear-gradient(135deg, #c28cb2, #c28c97);
}
.shadow-c28cb2 {
box-shadow: 0 8px 24px rgb(194 140 178 / 0.35);
}
Lilac
#c28cb2 rgb(194, 140, 178) hsl(318, 31%, 65%) Lilac
#8cc29c rgb(140, 194, 156) hsl(138, 31%, 65%) Dark Sea Green
#b2c28c rgb(178, 194, 140) hsl(78, 31%, 65%) Olivine
#8cb2c2 rgb(140, 178, 194) hsl(198, 31%, 65%) Moonstone Blue