PreviewingGo to this paletteOpen in generator
Code
/* Dream Pastel — colorset.net */
:root {
--color-1: #E6B3FF;
--color-2: #FFCCF9;
--color-3: #FFE5E5;
--color-4: #E5FFFF;
--color-5: #E5FFE5;
--color-bg: #E5FFFF;
--color-surface: #DCF6F6;
--color-border: #C0DEDE;
--color-text: #644274;
--color-muted: #76677E;
--color-primary: #A978C0;
--color-on-primary: #000000;
--color-accent: #778F78;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150A1A;
--color-surface: #1F1425;
--color-border: #35283C;
--color-text: #E5FFFF;
--color-muted: #7A9292;
--color-primary: #E6B3FF;
--color-on-primary: #150A1A;
--color-accent: #FFE5E5;
--color-on-accent: #150A1A;
}
}
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 4 | adjusted for contrast · from #E6B3FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6B3FF | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6B3FF | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6B3FF | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.13:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.42:1 | AAA pass 4.5:1 | |
| Text on surface | 16.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.83:1 | AA pass 4.5:1 | |
| Label on primary | 11.24:1 | AAA pass 4.5:1 | |
| Label on accent | 16.14:1 | AAA pass 4.5:1 | |
| Primary on background | 11.24:1 | AAA pass 3:1 | |
| Accent on background | 16.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 | #E6B3FF (Text 1) | #FFCCF9 (Text 2) | #FFE5E5 (Text 3) | #E5FFFF (Text 4) | #E5FFE5 (Text 5) |
|---|---|---|---|---|---|
| #E6B3FF | Same color | 1.24— | 1.44— | 1.64— | 1.61— |
| #FFCCF9 | 1.24— | Same color | 1.15— | 1.32— | 1.30— |
| #FFE5E5 | 1.44— | 1.15— | Same color | 1.14— | 1.12— |
| #E5FFFF | 1.64— | 1.32— | 1.14— | Same color | 1.02— |
| #E5FFE5 | 1.61— | 1.30— | 1.12— | 1.02— | Same color |
Shades
Shades and tints (50–950)
