Lavender Haze
2-color CSS gradient
Lavender Haze is a 2-color CSS linear gradient built from #E0C3FC and #8EC5FC. Its hues sit in the purple and blue ranges, and reads as pastel, muted, and cool. Dark text (#111827) on it keeps at least 9.75:1 at its weakest point — enough for WCAG AAA body text.
UI Preview
See how this gradient looks in a real interface
Welcome Back
Your creative workspace awaits
ContinueShade scales
Each color as a 50–950 ramp, like Tailwind's built-in palettes — ready for a design system. The ringed step is closest to the original color.
#E0C3FC
#8EC5FC
@theme {
--color-lavender-haze-1-50: #F9F6FD;
--color-lavender-haze-1-100: #F0E9F7;
--color-lavender-haze-1-200: #E1D5EF;
--color-lavender-haze-1-300: #CDBAE1;
--color-lavender-haze-1-400: #B198C9;
--color-lavender-haze-1-500: #987DB2;
--color-lavender-haze-1-600: #806698;
--color-lavender-haze-1-700: #68517C;
--color-lavender-haze-1-800: #523F64;
--color-lavender-haze-1-900: #41324F;
--color-lavender-haze-1-950: #2A1E34;
}
@theme {
--color-lavender-haze-2-50: #F2F8FF;
--color-lavender-haze-2-100: #E0EEFC;
--color-lavender-haze-2-200: #C5DEF7;
--color-lavender-haze-2-300: #A2C7EE;
--color-lavender-haze-2-400: #79A9D9;
--color-lavender-haze-2-500: #5A8FC3;
--color-lavender-haze-2-600: #4477A8;
--color-lavender-haze-2-700: #335F8A;
--color-lavender-haze-2-800: #264C6F;
--color-lavender-haze-2-900: #1D3B58;
--color-lavender-haze-2-950: #0F253A;
}Light & dark theme
This palette as semantic tokens for a real interface, in both modes. Text, muted text and button labels are adjusted until they pass WCAG AA.
Light
Weekly summary
Everything your team shipped since Monday.
Dark
Weekly summary
Everything your team shipped since Monday.
:root {
--background: #FBF9FC;
--surface: #F4F2F7;
--text: #1C191F;
--muted: #656169;
--border: #E0DCE3;
--primary: #6095CA;
--primary-foreground: #1C1917;
--accent: #A286BC;
--accent-foreground: #1C1917;
}
.dark {
--background: #110E13;
--surface: #1B181E;
--text: #F1ECF5;
--muted: #A6A3AB;
--border: #343237;
--primary: #8EC5FC;
--primary-foreground: #1C1917;
--accent: #E0C3FC;
--accent-foreground: #1C1917;
}Contrast checker
Text color (rows) on background (columns), scored against WCAG 2.1. 0 of 2 palette combinations are readable as body text. White and near-black text are included for comparison.
| Text ↓ / Bg → | #E0C3FC | #8EC5FC |
|---|---|---|
| #E0C3FC | Same color | 1.2Fail |
| #8EC5FC | 1.2Fail | Same color |
| White | 1.6Fail | 1.8Fail |
| Near-black | 11.1AAA | 9.6AAA |
AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only
Text that works on each color
- Near-black on #E0C3FC · 11.1:1
- Near-black on #8EC5FC · 9.6:1
Suggested fixes for 2 failing pairs
The nearest shade of the text color that passes AA (4.5:1), keeping its hue. Click one to copy it.
Color blindness check
About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.
No green cones — the most common form. Pale Lavender, #E0C3FC and Light Sky Blue, #8EC5FC become hard to tell apart — don't rely on color alone to separate them.
What are the HEX, RGB, and HSL values for Lavender Haze?
Every color in this 2-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #E0C3FC | Pale Lavender | #E0C3FC | 224, 195, 252 | 271°, 90%, 88% | 1.57:1 | 13.38:1 |
| #8EC5FC | Light Sky Blue | #8EC5FC | 142, 197, 252 | 210°, 95%, 77% | 1.82:1 | 11.54:1 |
Related gradients
Others sharing the same hues and tone