PreviewingGo to this paletteOpen in generator
Code
/* Candy Arcade — colorset.net */
:root {
--color-1: #26DE81;
--color-2: #45AAF2;
--color-3: #FD79A8;
--color-4: #FD6A85;
--color-5: #A29BFE;
--color-bg: #EDFBF1;
--color-surface: #E4F2E8;
--color-border: #C9DACE;
--color-text: #16527A;
--color-muted: #566D80;
--color-primary: #E75673;
--color-on-primary: #000000;
--color-accent: #009E58;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #02111D;
--color-surface: #0A1B28;
--color-border: #1B3040;
--color-text: #A4C6AD;
--color-muted: #6F8876;
--color-primary: #FD6A85;
--color-on-primary: #02111D;
--color-accent: #26DE81;
--color-on-accent: #02111D;
}
}
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 #26DE81 | adjusted for contrast · from #45AAF2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #45AAF2 | adjusted for contrast · from #26DE81 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FD6A85 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #26DE81 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 6.03:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.23:1 | AAA pass 4.5:1 | |
| Text on surface | 9.38:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.88:1 | AA pass 4.5:1 | |
| Label on accent | 10.77:1 | AAA pass 4.5:1 | |
| Primary on background | 6.88:1 | AA pass 3:1 | |
| Accent on background | 10.77: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 | #26DE81 (Text 1) | #45AAF2 (Text 2) | #FD79A8 (Text 3) | #FD6A85 (Text 4) | #A29BFE (Text 5) |
|---|---|---|---|---|---|
| #26DE81 | Same color | 1.43— | 1.40— | 1.56— | 1.37— |
| #45AAF2 | 1.43— | Same color | 1.02— | 1.09— | 1.04— |
| #FD79A8 | 1.40— | 1.02— | Same color | 1.12— | 1.02— |
| #FD6A85 | 1.56— | 1.09— | 1.12— | Same color | 1.14— |
| #A29BFE | 1.37— | 1.04— | 1.02— | 1.14— | Same color |
Shades
Shades and tints (50–950)
