PreviewingGo to this paletteOpen in generator
Code
/* Sherbet Morning — colorset.net */
:root {
--color-1: #FAF5E6;
--color-2: #FFD1D0;
--color-3: #F2E1A5;
--color-4: #B0EACF;
--color-5: #C4C4FD;
--color-bg: #FAF5E6;
--color-surface: #FFFCF3;
--color-border: #E2DCCA;
--color-text: #504E80;
--color-muted: #6E6E88;
--color-primary: #8989BE;
--color-on-primary: #000000;
--color-accent: #9C8B52;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1D;
--color-surface: #181728;
--color-border: #2C2B40;
--color-text: #FAF5E6;
--color-muted: #8F8A7D;
--color-primary: #C4C4FD;
--color-on-primary: #0E0D1D;
--color-accent: #F2E1A5;
--color-on-accent: #0E0D1D;
}
}
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 #C4C4FD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C4C4FD | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C4C4FD | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C4C4FD | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.03:1 | AAA pass 4.5:1 | |
| Text on surface | 7.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 6.23:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.09:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.61:1 | AAA pass 4.5:1 | |
| Text on surface | 16.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 11.57:1 | AAA pass 4.5:1 | |
| Label on accent | 14.71:1 | AAA pass 4.5:1 | |
| Primary on background | 11.57:1 | AAA pass 3:1 | |
| Accent on background | 14.71: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 | #FAF5E6 (Text 1) | #FFD1D0 (Text 2) | #F2E1A5 (Text 3) | #B0EACF (Text 4) | #C4C4FD (Text 5) |
|---|---|---|---|---|---|
| #FAF5E6 | Same color | 1.26— | 1.20— | 1.24— | 1.52— |
| #FFD1D0 | 1.26— | Same color | 1.05— | 1.02— | 1.21— |
| #F2E1A5 | 1.20— | 1.05— | Same color | 1.04— | 1.27— |
| #B0EACF | 1.24— | 1.02— | 1.04— | Same color | 1.23— |
| #C4C4FD | 1.52— | 1.21— | 1.27— | 1.23— | Same color |
Shades
Shades and tints (50–950)
