Lavender Fields
4-color mesh gradient
Lavender Fields is a 4-color CSS mesh gradient built from #A78BFA, #C084FC, #E879F9, and #F3E8FF. Its hues sit in the purple range, and reads as vibrant and cool. Dark text (#111827) on it keeps at least 6.52:1 at its weakest point — enough for WCAG AA 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.
#a78bfa
#c084fc
#e879f9
#f3e8ff
@theme {
--color-lavender-fields-1-50: #F8F6FF;
--color-lavender-fields-1-100: #EDE9FF;
--color-lavender-fields-1-200: #DCD4FF;
--color-lavender-fields-1-300: #C6B7FF;
--color-lavender-fields-1-400: #A991F5;
--color-lavender-fields-1-500: #9174E1;
--color-lavender-fields-1-600: #795DC3;
--color-lavender-fields-1-700: #6248A2;
--color-lavender-fields-1-800: #4E3883;
--color-lavender-fields-1-900: #3D2C68;
--color-lavender-fields-1-950: #271A46;
}
@theme {
--color-lavender-fields-2-50: #F9F5FF;
--color-lavender-fields-2-100: #F1E7FF;
--color-lavender-fields-2-200: #E5D0FF;
--color-lavender-fields-2-300: #D5B0FF;
--color-lavender-fields-2-400: #BD88F3;
--color-lavender-fields-2-500: #A569DE;
--color-lavender-fields-2-600: #8C52C1;
--color-lavender-fields-2-700: #723EA0;
--color-lavender-fields-2-800: #5B3081;
--color-lavender-fields-2-900: #482567;
--color-lavender-fields-2-950: #2F1545;
}
@theme {
--color-lavender-fields-3-50: #FEF4FF;
--color-lavender-fields-3-100: #FCE2FF;
--color-lavender-fields-3-200: #F8C7FF;
--color-lavender-fields-3-300: #EFA2FA;
--color-lavender-fields-3-400: #D977E8;
--color-lavender-fields-3-500: #C254D3;
--color-lavender-fields-3-600: #A63CB6;
--color-lavender-fields-3-700: #892A97;
--color-lavender-fields-3-800: #6E1F7A;
--color-lavender-fields-3-900: #571861;
--color-lavender-fields-3-950: #3A0B41;
}
@theme {
--color-lavender-fields-4-50: #F8F7FA;
--color-lavender-fields-4-100: #EEEAF1;
--color-lavender-fields-4-200: #DED8E4;
--color-lavender-fields-4-300: #C8BFD2;
--color-lavender-fields-4-400: #AA9FB7;
--color-lavender-fields-4-500: #91859E;
--color-lavender-fields-4-600: #796D85;
--color-lavender-fields-4-700: #61576C;
--color-lavender-fields-4-800: #4D4556;
--color-lavender-fields-4-900: #3D3644;
--color-lavender-fields-4-950: #27222C;
}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: #656269;
--border: #E0DCE3;
--primary: #D264E3;
--primary-foreground: #1C1917;
--accent: #AC3EBD;
--accent-foreground: #FAFAF9;
}
.dark {
--background: #110E13;
--surface: #1B181E;
--text: #F0ECF5;
--muted: #A6A3AB;
--border: #343237;
--primary: #E879F9;
--primary-foreground: #1C1917;
--accent: #D86AE9;
--accent-foreground: #1C1917;
}Contrast checker
Text color (rows) on background (columns), scored against WCAG 2.1. 0 of 12 palette combinations are readable as body text. White and near-black text are included for comparison.
| Text ↓ / Bg → | #A78BFA | #C084FC | #E879F9 | #F3E8FF |
|---|---|---|---|---|
| #A78BFA | Same color | 1.0Fail | 1.1Fail | 2.3Fail |
| #C084FC | 1.0Fail | Same color | 1.1Fail | 2.2Fail |
| #E879F9 | 1.1Fail | 1.1Fail | Same color | 2.1Fail |
| #F3E8FF | 2.3Fail | 2.2Fail | 2.1Fail | Same color |
| White | 2.7Fail | 2.6Fail | 2.5Fail | 1.2Fail |
| Near-black | 6.4AA | 6.6AA | 7.1AAA | 14.8AAA |
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 #A78BFA · 6.4:1
- Near-black on #C084FC · 6.6:1
- Near-black on #E879F9 · 7.1:1
- Near-black on #F3E8FF · 14.8:1
Suggested fixes for 12 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. Medium Purple, #A78BFA and Heliotrope, #E879F9 become hard to tell apart — don't rely on color alone to separate them.
What are the HEX, RGB, and HSL values for Lavender Fields?
Every color in this 4-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #A78BFA | Medium Purple | #A78BFA | 167, 139, 250 | 255°, 92%, 76% | 2.72:1 | 7.72:1 |
| #C084FC | Heliotrope | #C084FC | 192, 132, 252 | 270°, 95%, 75% | 2.64:1 | 7.95:1 |
| #E879F9 | Heliotrope | #E879F9 | 232, 121, 249 | 292°, 91%, 73% | 2.46:1 | 8.53:1 |
| #F3E8FF | Lavender | #F3E8FF | 243, 232, 255 | 269°, 100%, 95% | 1.18:1 | 17.80:1 |
Related mesh gradients
Others sharing the same hues and tone