Clear heading Body text with a link in it. Button Muted note
Lilac Mist
Single-hue tints Text contrast AAA 11.5:1
New: 177 themes, each one tested for readable contrast. Browse them
Pastel dark · Dark theme
Grey-violet background with lilac links and a pale lemon accent.
Field notes · 4 minute read
How tide pools keep their colour
At low tide the rock holds small pools of sea water. Each one is a link you have not opened, and beside it one you already have. A value such as depth: 12cm sits in a code chip.
A good theme keeps a quote readable without making it shout.
| Pool | Depth | Seen |
|---|---|---|
| North ledge | 12 cm | Anemone, limpets |
| Split rock | 30 cm | Shore crab |
A sample page in Lilac and Lemon's ten colours. Compare it live with the other themes.
Body text is #eae5f4 on #272330, a
contrast of 12.4:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 8.5:1 and muted text at 6.1:1 against the background. The perceptual lightness gap between text and background is 0.66 on a scale from 0 to 1.
Use Lilac and Lemon on the sites you open.
Free in Dark Mode Alpha, along with every other theme. Give it to one site or to all of them.
| Colour | Hex | Used for | Copy |
|---|---|---|---|
| Background | #272330 | The page behind everything | |
| Surface | #332f3d | Cards, panels and raised areas | |
| Text | #eae5f4 | Body text and headings | |
| Muted text | #a6a1b0 | Captions and secondary text | |
| Link | #cdb6f9 | Links you have not opened | |
| Visited link | #cd95b7 | Links you have opened | |
| Accent | #f0e7a1 | Buttons and highlights | |
| Border | #4f4a5a | Lines and outlines | |
| Selection | #564b6a | Behind text you select | |
| Scrollbar | #464251 | The scrollbar thumb |
/* Lilac and Lemon — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #272330;
--dma-surface: #332f3d;
--dma-text: #eae5f4;
--dma-muted: #a6a1b0;
--dma-link: #cdb6f9;
--dma-visited: #cd95b7;
--dma-accent: #f0e7a1;
--dma-border: #4f4a5a;
--dma-selection: #564b6a;
--dma-scrollbar: #464251;
}
Paste the block into your own stylesheet to use these colours, for example
background: var(--dma-background).
| Pair | Ratio | WCAG |
|---|---|---|
| Body text text on background | 12.4:1 | AAA |
| Text on panels text on surface | 10.5:1 | AAA |
| Muted text muted on background | 6.1:1 | AA |
| Links link on background | 8.5:1 | AAA |
| Visited links visited on background | 6.3:1 | AA |
| Accent accent on background | 12.2:1 | AAA |
AAA means at least 7:1, AA at least 4.5:1, and "AA large" at least 3:1, which is enough for large text and interface parts but not for body text.
Lilac and Lemon belongs to the Pastel dark family: muted dark backgrounds with two soft pastel colours.
Not part of a purpose collection. Browse its family.
Lilac and Lemon is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.
The closest themes to Lilac and Lemon by background, text and link colour.