PreviewingGo to this paletteOpen in generator
Code
/* Recovery Day — colorset.net */
:root {
--color-1: #F6F5F9;
--color-2: #5A4FCF;
--color-3: #3FC1A5;
--color-4: #D6D2EE;
--color-5: #1D1A2E;
--color-bg: #F6F5F9;
--color-surface: #EDECF0;
--color-border: #D4D3DA;
--color-text: #1D1A2E;
--color-muted: #69667F;
--color-primary: #5A4FCF;
--color-on-primary: #FFFFFF;
--color-accent: #00866F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1D1A2E;
--color-surface: #28253A;
--color-border: #3D3A51;
--color-text: #F6F5F9;
--color-muted: #939295;
--color-primary: #675FE0;
--color-on-primary: #FFFFFF;
--color-accent: #3FC1A5;
--color-on-accent: #1D1A2E;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #5A4FCF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3FC1A5 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.61:1 | AAA pass 4.5:1 | |
| Text on surface | 14.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 6.08:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 5.60:1 | AA pass 3:1 | |
| Accent on background | 4.17:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.61:1 | AAA pass 4.5:1 | |
| Text on surface | 13.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 4.90:1 | AA pass 4.5:1 | |
| Label on accent | 7.57:1 | AAA pass 4.5:1 | |
| Primary on background | 3.46:1 | AA Large pass 3:1 | |
| Accent on background | 7.57: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 | #F6F5F9 (Text 1) | #5A4FCF (Text 2) | #3FC1A5 (Text 3) | #D6D2EE (Text 4) | #1D1A2E (Text 5) |
|---|---|---|---|---|---|
| #F6F5F9 | Same color | 5.60AA | 2.06— | 1.35— | 15.61AAA |
| #5A4FCF | 5.60AA | Same color | 2.72— | 4.14AA Large | 2.79— |
| #3FC1A5 | 2.06— | 2.72— | Same color | 1.53— | 7.57AAA |
| #D6D2EE | 1.35— | 4.14AA Large | 1.53— | Same color | 11.55AAA |
| #1D1A2E | 15.61AAA | 2.79— | 7.57AAA | 11.55AAA | Same color |
Shades
Shades and tints (50–950)
