PreviewingGo to this paletteOpen in generator
Code
/* Grape Jelly — colorset.net */
:root {
--color-1: #4A148C;
--color-2: #7B1FA2;
--color-3: #8E24AA;
--color-4: #AB47BC;
--color-5: #CE93D8;
--color-bg: #FDF3FF;
--color-surface: #F4E9F6;
--color-border: #DDD0DF;
--color-text: #423166;
--color-muted: #6D6780;
--color-primary: #AB47BC;
--color-on-primary: #FFFFFF;
--color-accent: #4A148C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110C1D;
--color-surface: #1B1628;
--color-border: #302A40;
--color-text: #BBA2BF;
--color-muted: #907C93;
--color-primary: #AB47BC;
--color-on-primary: #FFFFFF;
--color-accent: #784EC4;
--color-on-accent: #FFFFFF;
}
}
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 #CE93D8 | adjusted for contrast · from #4A148C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4A148C | adjusted for contrast · from #CE93D8 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #8E24AA |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.44:1 | AAA pass 4.5:1 | |
| Text on surface | 9.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 11.86:1 | AAA pass 4.5:1 | |
| Primary on background | 4.46:1 | AA Large pass 3:1 | |
| Accent on background | 10.98:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.26:1 | AAA pass 4.5:1 | |
| Text on surface | 7.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large 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 | #4A148C (Text 1) | #7B1FA2 (Text 2) | #8E24AA (Text 3) | #AB47BC (Text 4) | #CE93D8 (Text 5) |
|---|---|---|---|---|---|
| #4A148C | Same color | 1.45— | 1.69— | 2.46— | 4.97AA |
| #7B1FA2 | 1.45— | Same color | 1.17— | 1.70— | 3.43AA Large |
| #8E24AA | 1.69— | 1.17— | Same color | 1.46— | 2.95— |
| #AB47BC | 2.46— | 1.70— | 1.46— | Same color | 2.02— |
| #CE93D8 | 4.97AA | 3.43AA Large | 2.95— | 2.02— | Same color |
Shades
Shades and tints (50–950)
