Lavender is a pale, low-saturation purple named after the flower. The CSS keyword lavender is #E6E6FA — much paler than the #967BB6 most designers mean by the word. Take the HEX codes from a scheme below, or build a custom lavender palette around any base colour with the generator.
Lavender Palette Ideas & HEX Codes
Soft Lavender runs from a near-white #F3E8FF down to the #967BB6 base. Lavender Fields includes the CSS keyword itself, #E6E6FA, plus the pinker #D8BFD8 and #C8A2C8 at 300°. Muted Lavender is the flattest, holding 45%–47% saturation the whole way, which makes it the most usable as an interface ramp.
Soft Lavender
#F3E8FF
#E0C3FC
#C8A2E0
#A87FCF
#967BB6
Lavender Fields
#E6E6FA
#D8BFD8
#C8A2C8
#B57EDC
#967BB6
Muted Lavender
#EDE7F6
#D1C4E9
#B39DDB
#9575CD
#7E57C2
Anchored to a lavender base — press Space or Generate to roll more schemes. Click a swatch to copy its HEX, lock one to keep it while the rest re-roll, then export as CSS, JSON or HEX.
Free, no sign-up Generated in your browser CSS, JSON & HEX export
Drag in the colour area or the hue bar, or type a HEX / RGB value, then build a scheme anchored to it.
What Goes With Lavender
Lavender is light and cool, so it needs one deeper tone before it can carry a layout — a plum or a deep purple works, and a soft grey keeps it calm. Sage green is the pairing florists and wedding designers reach for, because both are muted at similar lightness. Beauty, wellness, sleep and candle brands lean on it.
Frequently Asked Questions
What HEX codes make a lavender palette?
Lavender palettes lean on soft, light purples: pale tints like #F3E8FF and #E6E6FA, a mid lavender (#967BB6, #B57EDC) and a slightly deeper accent (#7E57C2) for contrast. Keeping saturation low and lightness high gives the gentle, airy lavender feel. Above you get three ready-made versions — Soft Lavender, Lavender Fields and Muted Lavender — so you can lift a whole five-step ramp instead of assembling one. #7E57C2 is the darkest code on the page and #F3E8FF the lightest, a pairing worth 4.4:1, enough for large headings but short of the 4.5:1 needed for body text.
What is the HEX code for lavender?
The CSS keyword lavender is #E6E6FA — a very pale blue-violet at 94% lightness, far lighter than the plant itself. The colour most people mean is closer to #967BB6. If a design needs lavender as an actual colour rather than a background tint, #B57EDC or #9575CD are the more usual choices.
How do I use these colours in CSS?
Click Copy CSS for a ready-to-paste :root block with each colour as a custom property (--color-1, --color-2 and so on), or copy a single HEX straight from any swatch above. The generator here starts anchored to #967BB6, so the first block you copy is a set of lavender variations rather than a random hue. Copy JSON returns the same five values as an array for a build step or a token file, and Copy HEX returns them as a plain comma-separated line. Lock any swatch you want to keep before generating again and it survives into the next export.
What are the RGB and HSL values for lavender?
The base lavender this page is anchored to is #967BB6, which is rgb(150, 123, 182) and hsl(267, 29%, 60%). A hue of 267 degrees puts it in the violets, and 60% lightness with 29% saturation makes it a mid tone. The colour picker above accepts HEX or R, G and B numbers directly, so you can type any of those in and rebuild the palette around it. The other codes in the sets above are steps around that base: lighter, darker, or nudged a little along the hue.