PreviewingGo to this paletteOpen in generator
Code
/* Candy Light — colorset.net */
:root {
--color-1: #FF8A80;
--color-2: #FFAB91;
--color-3: #FFE082;
--color-4: #A5D6A7;
--color-5: #B39DDB;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #574279;
--color-muted: #6F667F;
--color-primary: #C0524B;
--color-on-primary: #FFFFFF;
--color-accent: #548156;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1627;
--color-border: #31293F;
--color-text: #EEE2BD;
--color-muted: #8C8368;
--color-primary: #FF8A80;
--color-on-primary: #120B1C;
--color-accent: #A5D6A7;
--color-on-accent: #120B1C;
}
}
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 #FFE082 | adjusted for contrast · from #B39DDB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B39DDB | adjusted for contrast · from #FFE082 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF8A80 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B39DDB | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.97:1 | AAA pass 4.5:1 | |
| Text on surface | 7.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.90:1 | AAA pass 4.5:1 | |
| Text on surface | 13.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 8.44:1 | AAA pass 4.5:1 | |
| Label on accent | 11.72:1 | AAA pass 4.5:1 | |
| Primary on background | 8.44:1 | AAA pass 3:1 | |
| Accent on background | 11.72: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 | #FF8A80 (Text 1) | #FFAB91 (Text 2) | #FFE082 (Text 3) | #A5D6A7 (Text 4) | #B39DDB (Text 5) |
|---|---|---|---|---|---|
| #FF8A80 | Same color | 1.25— | 1.77— | 1.39— | 1.05— |
| #FFAB91 | 1.25— | Same color | 1.41— | 1.11— | 1.31— |
| #FFE082 | 1.77— | 1.41— | Same color | 1.27— | 1.85— |
| #A5D6A7 | 1.39— | 1.11— | 1.27— | Same color | 1.46— |
| #B39DDB | 1.05— | 1.31— | 1.85— | 1.46— | Same color |
Shades
Shades and tints (50–950)
