#b28bb2 ≈ Lilac
#b28bb2 is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 69.8% red, 54.51% green and 69.8% blue; printed in CMYK it uses 0% cyan, 21.91% magenta, 0% yellow and 30.2% black. Its hue angle is 300°, 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.23:1 (WCAG AAA). The closest named color is Lilac (#c8a2c8), ΔE 6.81.
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.3114 |
Shades
#b28bb2 mixed progressively with black.
Tints
#b28bb2 mixed progressively with white.
Tones
#b28bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b28bb2 {
color: #b28bb2;
}
.bg-b28bb2 {
background-color: #b28bb2;
color: #000000;
}
.border-b28bb2 {
border: 2px solid #b28bb2;
}
:root {
--color-primary: #b28bb2;
--color-primary-rgb: 178 139 178;
--color-primary-hsl: 300 20% 62%;
}
.gradient-b28bb2 {
background: linear-gradient(135deg, #b28bb2, #b28b9f);
}
.shadow-b28bb2 {
box-shadow: 0 8px 24px rgb(178 139 178 / 0.35);
}
Lilac
#b28bb2 rgb(178, 139, 178) hsl(300, 20%, 62%) Lilac
#8bb28b rgb(139, 178, 139) hsl(120, 20%, 62%) Dark Sea Green
#b2b28b rgb(178, 178, 139) hsl(60, 20%, 62%) Sage
#8bb2b2 rgb(139, 178, 178) hsl(180, 20%, 62%) Opal