Palette maker

Lavender Color: Hex Code, RGB and Palettes

Lavender is a pale blue-violet with the hex code , which is rgb(230, 230, 250) in RGB and hsl(240, 67%, 94%) in HSL. It is also a named CSS color, so you can write lavender directly in a stylesheet.

On this page
  1. Codes
  2. Appearance
  3. Similar colors
  4. Meaning
  5. Pairings
  6. Web and UI
  7. Accessibility
  8. Brands and rooms
  9. Print
  10. Gradients
  11. FAQ

On screen it acts less like a purple and more like a tinted white: cool, quiet and soft. Below you will find every code format, the close colors people mix it up with, contrast ratios I calculated, print notes and four palettes you can copy.

Lavender Hex, RGB, HSL and CMYK Codes

The hex code breaks into three pairs: E6 for red, E6 for green and FA for blue. In decimal that is 230, 230 and 250. Red and green are identical, and blue sits only 20 steps higher, which is why the color is so pale and so gently tinted.

Format Value CSS
HEX #e6e6fa
RGB 230, 230, 250 rgb(230 230 250)
HSL 240°, 67%, 94% hsl(240 67% 94%)
HSB / HSV 240°, 8%, 98% not a CSS format
CMYK 8%, 8%, 0%, 2% not a CSS format

The CMYK line is a straight mathematical conversion. A printer with its own ink profile will land a little differently, so treat it as a starting point, not a promise. The print section below explains what to do about that.

What Color Is Lavender, Really?

Lavender sits at hue 240, the same angle as pure blue on the color wheel. What changes is everything else: 94% lightness takes it close to white, while 67% saturation keeps enough tint to feel colored. Put it beside a neutral like light gray and the blue-violet cast is obvious. On its own it can pass for an off-white.

The violet reading comes from the red channel. Compare it with light blue (), where red drops to 173 and green rises to 216. Lavender keeps red high at 230, so it leans toward purple rather than sky or aqua. That one detail explains why lavender feels dreamy and light blue feels airy.

Lavender vs Lilac, Periwinkle and Floral Lavender

“Lavender” is used for several different colors, and mixing them up is the most common mistake I see in design handoffs. Here is how the near neighbors differ from :

  • Lavender blush (): a pink-tinged white, much warmer.
  • Periwinkle (): same family, but deeper and more saturated.
  • Thistle (): dustier, with more red and less blue.
  • Lilac (): a warmer mid-tone purple.
  • Floral lavender (): the real flower color, far stronger than the web color.
  • Ghost White (): almost white, with a whisper of blue.

If a brief says “lavender” with no code, ask which one they mean. A client once approved “lavender” meaning the floral purple and received the CSS version in the first mockup, which looked like a blank page to them. Sending the hex code with the name avoids that conversation entirely.

Which lavender is the stronger purple of the actual flower?

Web lavender is a near-white tint, while floral lavender is the deeper violet you see in the blooms.

Lavender Meaning and Where the Name Comes From

The color is named after the lavender plant, and the web color matches its palest petals. A 1930 color dictionary listed three major variations: floral lavender, lavender gray and lavender blue. A darker fourth shade, old lavender, was added alongside them. Pantone also lists an “English Lavender” in its textile range as 17-3617 TPX.

Web lavender is a tint

The CSS keyword lavender () is the palest member of the family. For the flower's own purple, look to floral lavender ().

Associations are cultural, not scientific, but they are consistent in practice: calm, softness, nostalgia, gentle luxury and a slightly romantic mood. Designers lean on it for sleep, skincare, wellness and stationery briefs for exactly those reasons. It rarely shouts, so it rewards restraint.

Colors That Go With Lavender

The palette maker above builds the standard harmonies from . The complement is , a faint cream-yellow, and the analogous neighbors are and . The triadic partners are and . All of them stay very light because the starting color is so light.

Lavender Ladder

Soft web interfaces with pale surfaces, purple accents and dark ink text.

Lavender and Mint

Wedding stationery, spa menus and calm wellness branding with a fresh edge.

Spring Butter

Birthday invitations, Easter tables and cheerful spring social graphics.

Dusk Studio

Bedrooms, boutique packaging and editorial layouts that want a grown-up mood.

Real palettes need depth, so add a dark anchor. Lavender with mint green feels fresh and spa-like. Lavender with pastel yellow is the classic spring pair and works well for invitations. For weight and drama, a deep indigo blue gives you strong contrast while staying in the same color family.

Using Lavender in Web and UI Design

Treat as a surface color: page backgrounds, cards, input fields, selected rows and soft banners. It is light enough that dark text sits on it comfortably, yet different enough from white to separate sections without borders. I recommend defining it once as a token so it never gets retyped as a near-miss.

Strip of five color swatches from white to dark ink showing lavender UI roles with hex codes
A lavender interface needs only five colors: white page, lavender surface, soft border, purple accent and dark ink.
:root {
  --surface-soft: ;
  --border-soft: ;
  --accent: ;
  --ink: ;
}

.card {
  background: var(--surface-soft);
  color: var(--ink);
  border: 1px solid var(--border-soft);
}

.button {
  background: var(--accent);
  color: #fff;
}

The accent and ink values are my suggestions, chosen so the interface stays readable. Hover and focus states are easy to build in HSL: keep hue 240 and nudge lightness down a few points, for example hsl(240 67% 90%).

App card mockup with lavender surface, periwinkle border, dark ink heading and purple button, each labeled with its hex code
Use lavender as the soft surface, then let dark ink and one purple accent carry text and actions.

Is Lavender Accessible? Contrast Ratios Explained

I calculated the WCAG relative luminance of at about 0.80. That gives roughly 1.2:1 against white, far below the 4.5:1 required for body text, and about 17:1 against black. In short, lavender works only as the light side of a pair.

Which pairing is safe for body text?

Dark ink on lavender gives about 11:1, while white and lavender together manage only about 1.2:1.

Good combinations: text on lavender reaches about 11:1, and lavender text on is the same ratio, which makes a tidy dark mode. The purple accent reaches about 6.4:1 on lavender and about 7.9:1 against white. For a deeper, more neutral option, dark navy will pass easily as well.

On a wellness app I worked on, the team put white labels on pale lavender chips. They looked soft and elegant, and they measured about 1.2:1. Switching the labels to a dark purple-grey fixed it without changing the mood at all.

Try this: Open your own interface and find every place where lavender carries text. Check each pair with a contrast checker and swap any failing text for a dark ink like .

Lavender in Branding, Fashion and Interiors

In branding, lavender usually plays supporting roles: backgrounds, packaging inner layers, illustration washes and soft gradients. As a lead color it can feel faint, so pair it with a confident dark and one stronger purple, such as a deeper plum purple. Skincare, wellness and fintech brands that want gentleness without clinical white use it often.

In fashion, pale lavender works best near cream, soft grey, olive and denim blue, and it flatters many skin tones in knitwear and linen. In interiors, it suits bedrooms, bathrooms and nurseries. Light matters: cool north light pushes it bluer, while warm lamps pull it toward grey. Test a large swatch on the wall, and add warmth with brass fittings or timber.

Printing Lavender Without Surprises

Pale tints are hard to print because tiny shifts in ink show up immediately. is also close to the edge of what a standard four-color press reproduces faithfully, since the screen version is brighter than most inks can match. The closest Pantone match is commonly listed as 656 C, but always check against a physical swatch.

Follow this order for dependable results:

  1. Convert from RGB using the printer’s own color profile, not a generic conversion.
  2. Ask for a hard proof or a press check, not just a PDF on screen.
  3. Keep the tint on uncoated or coated stock consistently across the job.
  4. Avoid very thin text in lavender, which breaks up at small sizes.

I once received a proof where the lavender background drifted slightly pink, because a small magenta shift is far more visible in a pale blue-violet than in a saturated color. We fixed it by lowering the magenta value a couple of points and approving a second proof. If the color is critical, a spot ink avoids the drift.

Lavender Gradients and Digital Art

Lavender blends well into soft gradients because its neighbors are close in lightness. A simple, dreamy one is lavender to periwinkle to steel blue:

background: linear-gradient(135deg, ,  50%, );

Very pale gradients can show visible banding on some screens. Add a subtle grain overlay or a slightly stronger end color to keep them smooth.

In painting and illustration, lavender is easy to mix: blue, a touch of red or magenta, and lots of white. Digital artists use it for skies at dusk, soft shadows and highlights on pale skin, where it adds coolness without looking grey. Use it sparingly in shading, because it quickly turns chalky when overdone.

Colors close to lavender

Lavender Color: questions people ask

What is the hex code for lavender?

The CSS lavender color is #E6E6FA, which equals rgb(230, 230, 250) and hsl(240, 67%, 94%). The stronger flower-colored version often called floral lavender is #B57EDC.

Is lavender purple or blue?

Numerically, #E6E6FA has a hue of 240 degrees, the same as pure blue, just very light. Most people read it as a pale violet, especially beside a neutral or a true light blue.

What is the difference between lavender and lilac?

Lavender (#E6E6FA) is lighter and cooler, with a blue lean. Lilac (#C8A2C8) is a mid-tone with more red in it, so it looks warmer and pinker.

What colors go well with lavender?

Mint green, butter or pastel yellow, soft grey, cream and deep navy or indigo all work well. Add a dark anchor such as #2D2A4A so the pale lavender has something to contrast against.

Can I use lavender as a text color?

Not on white, where it reaches only about 1.2:1 contrast. Use #E6E6FA as a background or as light text on a dark surface, where it reaches about 11:1 on #2D2A4A.

Keep exploring