PreviewingGo to this paletteOpen in generator
Code
/* Pastel Prism — colorset.net */
:root {
--color-1: #FF8080;
--color-2: #80FF80;
--color-3: #8080FF;
--color-4: #FFFF80;
--color-5: #FF80FF;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D7C4;
--color-text: #474980;
--color-muted: #676A83;
--color-primary: #6A67E3;
--color-on-primary: #FFFFFF;
--color-accent: #8F8D00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0D1E;
--color-surface: #161729;
--color-border: #2A2C42;
--color-text: #F9FAD4;
--color-muted: #8D8E72;
--color-primary: #8080FF;
--color-on-primary: #0D0D1E;
--color-accent: #FFFF80;
--color-on-accent: #0D0D1E;
}
}
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 | adjusted for contrast · from #FFFF80 | adjusted for contrast · from #8080FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8080FF | adjusted for contrast · from #FFFF80 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8080FF | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8080 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.97:1 | AAA pass 4.5:1 | |
| Text on surface | 16.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 5.90:1 | AA pass 4.5:1 | |
| Label on accent | 18.17:1 | AAA pass 4.5:1 | |
| Primary on background | 5.90:1 | AA pass 3:1 | |
| Accent on background | 18.17: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 | #FF8080 (Text 1) | #80FF80 (Text 2) | #8080FF (Text 3) | #FFFF80 (Text 4) | #FF80FF (Text 5) |
|---|---|---|---|---|---|
| #FF8080 | Same color | 1.91— | 1.34— | 2.30— | 1.13— |
| #80FF80 | 1.91— | Same color | 2.56— | 1.20— | 1.69— |
| #8080FF | 1.34— | 2.56— | Same color | 3.08AA Large | 1.52— |
| #FFFF80 | 2.30— | 1.20— | 3.08AA Large | Same color | 2.03— |
| #FF80FF | 1.13— | 1.69— | 1.52— | 2.03— | Same color |
Shades
Shades and tints (50–950)
