Skip to main content

Using Lavender as a surface color

HEX

#E6E6FA

RGB

230, 230, 250

HSL

240°, 67%, 94%

HSV

240°, 8%, 98%

Lavender (#E6E6FA) is a pale blue-violet that behaves more like tinted light than like a strong color block. It is useful when you want purple atmosphere without the density of lilac, violet, or grape, especially on backgrounds and secondary surfaces.

Best for

Educational platforms, course materials, and infographic designs.

Accessibility

Check contrast before using lavender for text-heavy layouts, especially on low-contrast backgrounds.

Lavender color swatch — #E6E6FA

How does lavender compare to nearby colors?

What is the difference between lavender and periwinkle?

Lavender (#E6E6FA) looks dustier and more restrained than Periwinkle (#CCCCFF) when the two are shown together. Lavender keeps the overall palette calmer, while Periwinkle introduces more visual insistence with less area. Reach for lavender when you want less chroma pressure on the page; keep periwinkle for the version that announces itself more readily.

What color is lavender?

The name comes from the lavender flower, but the digital swatch usually reads cooler and cleaner than the plant itself. In interface and brand work it often functions as a softer alternative to pale blue or blush when you want a background with a little more personality.

What is the hex code for lavender?

FormatValue
HEX#E6E6FA
RGBrgb(230, 230, 250)
HSLhsl(240°, 67%, 94%)
HSV / HSBhsv(240°, 8%, 98%)
CMYK (approx.)cmyk(8%, 8%, 0%, 2%)

Convert Lavender to other color formats

Open the color converter with Lavender (#E6E6FA) prefilled to copy RGB, HSL, HSV, CMYK, or OKLCH values.

Convert Lavender in the color converter

What does lavender mean in design?

Lavender is often associated with calm, softness, and a slightly dreamlike polish. It reads gentler than violet and less sugary than pink, which is why it works well when a layout needs to feel airy, delicate, or quietly premium.

How do I use lavender in code?

CSS (hex)color: #E6E6FA;
CSS (rgb)color: rgb(230, 230, 250);
CSS (hsl)color: hsl(240, 67%, 94%);
RGB %rgb(90%, 90%, 98%)
Tailwindtext-[#E6E6FA]
SwiftUIColor(red: 0.902, green: 0.902, blue: 0.980)
UIKitUIColor(red: 0.902, green: 0.902, blue: 0.980, alpha: 1.0)
AndroidColor.rgb(230, 230, 250)
ComposeColor(0xFFE6E6FA)
Web Safe#FFFFFF

Is lavender accessible?

CombinationRatioAAAA lgAAAAAA lgUI
AaWhite text on this color1.23:1
AaBlack text on this color17.06:1
AaThis color as text on white1.23:1
AaThis color as text on black17.06:1

WCAG 2.1: AA normal ≥ 4.5:1, AA large text ≥ 3:1, AAA normal ≥ 7:1, AAA large ≥ 4.5:1, UI components ≥ 3:1.

How does lavender look with color blindness?

Normal vision#E6E6FA
Protanopia (red-blind)#E6E6F5
Deuteranopia (green-blind)#E6E6F4
Tritanopia (blue-blind)#E6F1F1
Achromatopsia (total color blindness)#E7E7E7

Simulated appearance for common types of color vision deficiency. Actual perception varies by individual.

What colors go with lavender

#36454F
Charcoal

Charcoal keeps very light lavender from disappearing into the canvas and adds the structure needed for documents, interfaces, and tables.

#FFD700
Gold

Gold gives lavender a warmer highlight, which helps the palette feel more tactile and less screen-native than it would with only neutrals.

#FFFDD0
Cream

Pairing lavender with cream keeps the palette relaxed and material, which is useful when a bright white would feel too crisp.

#FFFFFF
White

White makes lavender feel clearer and more breathable without pulling it warmer or cooler than it already is.

#C0C0C0
Silver

Silver stays quiet enough to frame lavender instead of competing with it, which is useful for text, dividers, and supporting surfaces.

What colors clash with lavender

#39FF14
Neon Green

With lavender, Neon Green pulls the palette toward LED signage and away from the powdery lilac quality that makes the source color usable.

#FF00FF
Magenta

Magenta pushes lavender toward a nightclub or cosmetic register that is hard to square with calmer editorial or product work.

#FFA500
Orange

Orange lands abruptly next to lavender and can make the palette feel more promo-coded or team-coded than intended.

#D3D3D3
Light Gray

Light Gray sits too close to lavender in value, so the palette can wash out before it ever establishes a clear hierarchy.

How should I use lavender in design?

  • Lavender works as a slide background for creative and wellness presentations — pair with charcoal text for readability.
  • Use lavender as a secondary color alongside a stronger primary (navy, charcoal, or deep purple) to add softness.
  • Avoid using lavender for text — it lacks contrast on both light and dark backgrounds.

What are good lavender palettes?

Clear signal

Educational platforms, course materials, and infographic designs.

Golden hour

Portfolio sites, creative briefs, and lookbooks.

Signal and structure

Email templates, blog headers, and content marketing visuals.

Design with lavender in Moda

Create a presentation or document using lavender as your accent color. Moda's AI applies your color palette automatically.

Create a design with lavender

What are the shades and tints of lavender?

Shades (darker)

Tints (lighter)

Tones (desaturated)

Hue variations

What are the color harmonies for lavender?

Harmonies are calculated from the base swatch. When a harmony matches a named color page, it links there; otherwise it appears here as a computed reference swatch.

Complementary
Light Yellow#FAFAE5Computed
Analogous
Light Purple#F0E5FAComputedLight Cyan#E5F0FAComputed
Triadic
Light Red#FAE5E5ComputedLight Green#E5FAE5Computed
Split-complementary
Light Orange#FAF0E5ComputedLight Green#F0FAE5Computed
Monochromatic
Dark Blue#111155ComputedBlue#2222AAComputedBlue#5555DDComputedLight Blue#AAAAEEComputed
Square
Light Purple#FAE5F0ComputedLight Yellow#FAFAE5ComputedLight Cyan#E5FAF0Computed

Frequently asked questions

What is the hex code for lavender?

The hex code for lavender is #E6E6FA. In RGB, that's 230 red, 230 green, and 250 blue. The approximate CMYK equivalent is 8% cyan, 8% magenta, 0% yellow, and 2% key (black).

Is lavender a warm or cool color?

Lavender reads as cool. It settles naturally beside blues, greens, silver, and charcoal, and feels more animated when paired with warm accents like gold, coral, or rust.

Is lavender better for backgrounds or accents?

Lavender is usually stronger as a background, card tint, or section surface than as a sharp accent. It works best when darker typography or controls can sit on top and do the hierarchy work.

How should I use lavender in a design?

Lavender is light enough that it belongs on surfaces rather than in small text. Use it for backgrounds, soft section breaks, or gentle table shading and keep dark typography on top.

Can I use lavender for text or backgrounds?

Lavender works better with dark text than white text. Black text reaches 17.06:1 contrast on the swatch, which makes the color more usable as a background or highlight surface than as a dark panel.

Last updated April 6, 2026

Color values are computed from the listed hex code using standard conversion formulas. RGB, HSL, and HSV are exact screen-ready conversions. CMYK is an approximate on-screen reference, not a press-ready print specification. Pairings, palettes, and use-case guidance are heuristic recommendations derived from color relationships, contrast behavior, and common presentation, document, and UI patterns.