#c8a1c8 ≈ Lilac
#c8a1c8 is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 78.43% red, 63.14% green and 78.43% blue; printed in CMYK it uses 0% cyan, 19.5% magenta, 0% yellow and 21.57% black. Its hue angle is 300°, with 26.17% saturation and 70.78% 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 9.39:1 (WCAG AAA). The closest named color is Lilac (#c8a2c8), ΔE 0.37.
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.4194 |
Shades
#c8a1c8 mixed progressively with black.
Tints
#c8a1c8 mixed progressively with white.
Tones
#c8a1c8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8a1c8 {
color: #c8a1c8;
}
.bg-c8a1c8 {
background-color: #c8a1c8;
color: #000000;
}
.border-c8a1c8 {
border: 2px solid #c8a1c8;
}
:root {
--color-primary: #c8a1c8;
--color-primary-rgb: 200 161 200;
--color-primary-hsl: 300 26% 71%;
}
.gradient-c8a1c8 {
background: linear-gradient(135deg, #c8a1c8, #c8a1b4);
}
.shadow-c8a1c8 {
box-shadow: 0 8px 24px rgb(200 161 200 / 0.35);
}
Lilac
#c8a1c8 rgb(200, 161, 200) hsl(300, 26%, 71%) Lilac
#a1c8a1 rgb(161, 200, 161) hsl(120, 26%, 71%) Dark Sea Green
#c8c8a1 rgb(200, 200, 161) hsl(60, 26%, 71%) Sage
#a1c8c8 rgb(161, 200, 200) hsl(180, 26%, 71%) Opal