Inspired by the lavender fields of Provence. It's a fresh medium violet with a bluish base. It's linked to rest and relaxation and shows up in soaps, candles and bedding.
Lavender (#B57EDC) is a cool, mid-tone, moderately saturated color. It belongs to the purples family. It mixes 181 red, 126 green and 220 blue (out of 255). It is mostly used in home decor, cosmetics, fashion.
From lightest to darkest. Tap a shade to copy its code.
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--lavender: #B57EDC;
--lavender-rgb: 181, 126, 220;
}
.bg { background-color: var(--lavender); }
.text { color: var(--lavender); }The hex code for lavender is #B57EDC. In RGB it is rgb(181, 126, 220), in HSL hsl(275, 57%, 68%) and in CMYK 18, 43, 0, 14.
Its complement on the color wheel is #A5DC7E, close to pistachio green. Used in small doses, it works as an accent and adds strong contrast.
Use black text instead: the contrast with white is only 3.0:1, while with black it is 7.0:1.
It pairs well with gray, white, sage green, pastel yellow, navy blue. Avoid pairing it with intense oranges or reds, because lavender loses its softness. With dark brown it can look gloomy.