PreviewingGo to this paletteOpen in generator
Code
/* Candy Prism — colorset.net */
:root {
--color-1: #FA709A;
--color-2: #FEE140;
--color-3: #ACFF70;
--color-4: #70FFFE;
--color-5: #AC70FF;
--color-bg: #E8FBFB;
--color-surface: #DFF2F1;
--color-border: #C3DADA;
--color-text: #59447A;
--color-muted: #6F6780;
--color-primary: #9153E0;
--color-on-primary: #FFFFFF;
--color-accent: #478300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1627;
--color-border: #31293F;
--color-text: #BFF0EF;
--color-muted: #668A89;
--color-primary: #AC70FF;
--color-on-primary: #120B1C;
--color-accent: #ACFF70;
--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 #70FFFE | adjusted for contrast · from #AC70FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AC70FF | adjusted for contrast · from #70FFFE |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AC70FF | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FA709A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 4.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.52:1 | AAA pass 4.5:1 | |
| Text on surface | 14.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 15.86:1 | AAA pass 4.5:1 | |
| Primary on background | 5.98:1 | AA pass 3:1 | |
| Accent on background | 15.86: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 | #FA709A (Text 1) | #FEE140 (Text 2) | #ACFF70 (Text 3) | #70FFFE (Text 4) | #AC70FF (Text 5) |
|---|---|---|---|---|---|
| #FA709A | Same color | 2.05— | 2.20— | 2.22— | 1.20— |
| #FEE140 | 2.05— | Same color | 1.08— | 1.09— | 2.46— |
| #ACFF70 | 2.20— | 1.08— | Same color | 1.01— | 2.65— |
| #70FFFE | 2.22— | 1.09— | 1.01— | Same color | 2.67— |
| #AC70FF | 1.20— | 2.46— | 2.65— | 2.67— | Same color |
Shades
Shades and tints (50–950)
