#af8bb2 ≈ Lilac
#af8bb2 is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 68.63% red, 54.51% green and 69.8% blue; printed in CMYK it uses 1.69% cyan, 21.91% magenta, 0% yellow and 30.2% black. Its hue angle is 295.38°, with 20.21% saturation and 62.16% 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.16:1 (WCAG AAA). The closest named color is Lilac (#c8a2c8), ΔE 7.07.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999999 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3079 |
Shades
#af8bb2 mixed progressively with black.
Tints
#af8bb2 mixed progressively with white.
Tones
#af8bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af8bb2 {
color: #af8bb2;
}
.bg-af8bb2 {
background-color: #af8bb2;
color: #000000;
}
.border-af8bb2 {
border: 2px solid #af8bb2;
}
:root {
--color-primary: #af8bb2;
--color-primary-rgb: 175 139 178;
--color-primary-hsl: 295 20% 62%;
}
.gradient-af8bb2 {
background: linear-gradient(135deg, #af8bb2, #b28ba2);
}
.shadow-af8bb2 {
box-shadow: 0 8px 24px rgb(175 139 178 / 0.35);
}
Lilac
#af8bb2 rgb(175, 139, 178) hsl(295, 20%, 62%) Lilac
#8eb28b rgb(142, 178, 139) hsl(115, 20%, 62%) Dark Sea Green
#b2af8b rgb(178, 175, 139) hsl(55, 20%, 62%) Sage
#8bb2af rgb(139, 178, 175) hsl(175, 20%, 62%) Opal