PreviewingGo to this paletteOpen in generator
Code
/* Nursery Window — colorset.net */
:root {
--color-1: #E6F4FE;
--color-2: #BAE5FF;
--color-3: #EDE6B9;
--color-4: #FFD0D6;
--color-5: #C4B4E5;
--color-bg: #E6F4FE;
--color-surface: #F3FAFF;
--color-border: #CBDCE8;
--color-text: #584974;
--color-muted: #716982;
--color-primary: #9283B1;
--color-on-primary: #000000;
--color-accent: #918A60;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110C1A;
--color-surface: #1B1625;
--color-border: #302A3C;
--color-text: #E6F4FE;
--color-muted: #7E8B94;
--color-primary: #C4B4E5;
--color-on-primary: #110C1A;
--color-accent: #EDE6B9;
--color-on-accent: #110C1A;
}
}
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 #C4B4E5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C4B4E5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C4B4E5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C4B4E5 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.15:1 | AAA pass 4.5:1 | |
| Text on surface | 7.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 3.12:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.17:1 | AAA pass 4.5:1 | |
| Text on surface | 15.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 10.09:1 | AAA pass 4.5:1 | |
| Label on accent | 15.23:1 | AAA pass 4.5:1 | |
| Primary on background | 10.09:1 | AAA pass 3:1 | |
| Accent on background | 15.23: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 | #E6F4FE (Text 1) | #BAE5FF (Text 2) | #EDE6B9 (Text 3) | #FFD0D6 (Text 4) | #C4B4E5 (Text 5) |
|---|---|---|---|---|---|
| #E6F4FE | Same color | 1.19— | 1.13— | 1.23— | 1.70— |
| #BAE5FF | 1.19— | Same color | 1.06— | 1.03— | 1.43— |
| #EDE6B9 | 1.13— | 1.06— | Same color | 1.09— | 1.51— |
| #FFD0D6 | 1.23— | 1.03— | 1.09— | Same color | 1.39— |
| #C4B4E5 | 1.70— | 1.43— | 1.51— | 1.39— | Same color |
Shades
Shades and tints (50–950)
