PreviewingGo to this paletteOpen in generator
Code
/* Eggshell Note — colorset.net */
:root {
--color-1: #FAF5EA;
--color-2: #F4EAD9;
--color-3: #ECDBC5;
--color-4: #D6CAEE;
--color-5: #5E4F79;
--color-bg: #FAF5EA;
--color-surface: #FFFCF6;
--color-border: #E3DCCE;
--color-text: #5B4C76;
--color-muted: #756C86;
--color-primary: #5E4F79;
--color-on-primary: #FFFFFF;
--color-accent: #918C82;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110D1A;
--color-surface: #1B1724;
--color-border: #302A3C;
--color-text: #FAF5EA;
--color-muted: #8F8A80;
--color-primary: #6F608B;
--color-on-primary: #FFFFFF;
--color-accent: #ECDBC5;
--color-on-accent: #110D1A;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | adjusted for contrast · from #5E4F79 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5E4F79 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #5E4F79 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5E4F79 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.05:1 | AAA pass 4.5:1 | |
| Text on surface | 7.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 7.32:1 | AAA pass 4.5:1 | |
| Label on accent | 6.28:1 | AA pass 4.5:1 | |
| Primary on background | 6.73:1 | AA pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.62:1 | AAA pass 4.5:1 | |
| Text on surface | 16.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 5.64:1 | AA pass 4.5:1 | |
| Label on accent | 14.14:1 | AAA pass 4.5:1 | |
| Primary on background | 3.39:1 | AA Large pass 3:1 | |
| Accent on background | 14.14:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #FAF5EA (Text 1) | #F4EAD9 (Text 2) | #ECDBC5 (Text 3) | #D6CAEE (Text 4) | #5E4F79 (Text 5) |
|---|---|---|---|---|---|
| #FAF5EA | Same color | 1.10— | 1.25— | 1.43— | 6.73AA |
| #F4EAD9 | 1.10— | Same color | 1.14— | 1.30— | 6.14AA |
| #ECDBC5 | 1.25— | 1.14— | Same color | 1.14— | 5.40AA |
| #D6CAEE | 1.43— | 1.30— | 1.14— | Same color | 4.72AA |
| #5E4F79 | 6.73AA | 6.14AA | 5.40AA | 4.72AA | Same color |
Shades
Shades and tints (50–950)
