PreviewingGo to this paletteOpen in generator
Code
/* Dream Mall — colorset.net */
:root {
--color-1: #FCE8EF;
--color-2: #9C7BD9;
--color-3: #4FC4A2;
--color-4: #F8B6C8;
--color-5: #2E2347;
--color-bg: #FCE8EF;
--color-surface: #FEF2F6;
--color-border: #E6CED7;
--color-text: #2E2347;
--color-muted: #6C667F;
--color-primary: #8463BE;
--color-on-primary: #FFFFFF;
--color-accent: #008467;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100D19;
--color-surface: #1A1724;
--color-border: #2F2B3C;
--color-text: #FCE8EF;
--color-muted: #938187;
--color-primary: #9C7BD9;
--color-on-primary: #100D19;
--color-accent: #4FC4A2;
--color-on-accent: #100D19;
}
}
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 #2E2347 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9C7BD9 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4FC4A2 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.39:1 | AAA pass 4.5:1 | |
| Text on surface | 13.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 3.99:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.39:1 | AAA pass 4.5:1 | |
| Text on surface | 15.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 5.71:1 | AA pass 4.5:1 | |
| Label on accent | 8.92:1 | AAA pass 4.5:1 | |
| Primary on background | 5.71:1 | AA pass 3:1 | |
| Accent on background | 8.92: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 | #FCE8EF (Text 1) | #9C7BD9 (Text 2) | #4FC4A2 (Text 3) | #F8B6C8 (Text 4) | #2E2347 (Text 5) |
|---|---|---|---|---|---|
| #FCE8EF | Same color | 2.87— | 1.84— | 1.43— | 12.39AAA |
| #9C7BD9 | 2.87— | Same color | 1.56— | 2.00— | 4.32AA Large |
| #4FC4A2 | 1.84— | 1.56— | Same color | 1.28— | 6.74AA |
| #F8B6C8 | 1.43— | 2.00— | 1.28— | Same color | 8.65AAA |
| #2E2347 | 12.39AAA | 4.32AA Large | 6.74AA | 8.65AAA | Same color |
Shades
Shades and tints (50–950)
