PreviewingGo to this paletteOpen in generator
Code
/* Grape Juice — colorset.net */
:root {
--color-1: #F8F5FF;
--color-2: #864AD2;
--color-3: #E3C23B;
--color-4: #C4B4E5;
--color-5: #291C3C;
--color-bg: #F8F5FF;
--color-surface: #EFECF6;
--color-border: #D6D2E0;
--color-text: #291C3C;
--color-muted: #706780;
--color-primary: #864AD2;
--color-on-primary: #FFFFFF;
--color-accent: #8A7300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #291C3C;
--color-surface: #342748;
--color-border: #484057;
--color-text: #F8F5FF;
--color-muted: #98959E;
--color-primary: #9257E0;
--color-on-primary: #FFFFFF;
--color-accent: #E3C23B;
--color-on-accent: #291C3C;
}
}
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 #864AD2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E3C23B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 13.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.35:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.97:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 12.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 9.09:1 | AAA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 9.09: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 | #F8F5FF (Text 1) | #864AD2 (Text 2) | #E3C23B (Text 3) | #C4B4E5 (Text 4) | #291C3C (Text 5) |
|---|---|---|---|---|---|
| #F8F5FF | Same color | 4.97AA | 1.62— | 1.77— | 14.71AAA |
| #864AD2 | 4.97AA | Same color | 3.07AA Large | 2.81— | 2.96— |
| #E3C23B | 1.62— | 3.07AA Large | Same color | 1.09— | 9.09AAA |
| #C4B4E5 | 1.77— | 2.81— | 1.09— | Same color | 8.30AAA |
| #291C3C | 14.71AAA | 2.96— | 9.09AAA | 8.30AAA | Same color |
Shades
Shades and tints (50–950)
