Eggplant & Pale Lilac
A earthy palette of 3 colors from the Afoli gallery: #351738, #7382AC, #EAC8F1.
Open in the Afoli palette generator →
#351738 · Midnight Blue#7382AC · Light Slate Gray#EAC8F1 · Thistle
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #351738 | rgb(53, 23, 56) | hsl(295, 42%, 15%) | 5, 59, 0, 78 | ≈ Midnight Blue |
| #7382AC | rgb(115, 130, 172) | hsl(224, 26%, 56%) | 33, 24, 0, 33 | ≈ Light Slate Gray |
| #EAC8F1 | rgb(234, 200, 241) | hsl(290, 59%, 86%) | 3, 17, 0, 5 | ≈ Thistle |
Preview in a UI
A heading in the primary color
Body text on the background, as a page or an app would show it.
Text on a card · #7382AC
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 10.54 : 1 | -77 | Pass |
| Text on a card | 10.54 : 1 | -77 | Pass |
| Button label | 4.15 : 1 | 35 | Fail |
| Heading on background | 4.15 : 1 | -33 | Pass (WCAG) |
| Link on a card | 4.15 : 1 | -33 | Fail |
| Accent badge on a card | 4.15 : 1 | -33 | Pass (WCAG) |
| Primary control on background | 4.15 : 1 | -33 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #351738;
--light-slate-gray: #7382AC;
--thistle: #EAC8F1;
}
How this palette was made
Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).
Frequently asked questions
How do I use the Eggplant & Pale Lilac palette in CSS?
Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.
Which colors of Eggplant & Pale Lilac can I use for text?
#351738 text on #EAC8F1 reaches 10.54 : 1, the strongest pair of the palette.
Similar palettes
- Dark Lavender & Lavender
- Mauve & Aubergine
- Dusk & Light Lavendar
- Grape & Lavender
- Dusty Lavender & Dark Plum
- Dull Purple & Light Lavender
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)