PreviewingGo to this paletteOpen in generator
Code
/* Grape Jam — colorset.net */
:root {
--color-1: #331A40;
--color-2: #4D2D5C;
--color-3: #664077;
--color-4: #805393;
--color-5: #9966B0;
--color-bg: #FBF4FF;
--color-surface: #F3EAF7;
--color-border: #DBD0E1;
--color-text: #331A40;
--color-muted: #73647C;
--color-primary: #9360AA;
--color-on-primary: #FFFFFF;
--color-accent: #4D2D5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140B19;
--color-surface: #1E1523;
--color-border: #34293A;
--color-text: #B19DBC;
--color-muted: #8D7C94;
--color-primary: #9360AA;
--color-on-primary: #FFFFFF;
--color-accent: #785D88;
--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 #9966B0 | adjusted for contrast · from #331A40 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #9966B0 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9966B0 | adjusted for contrast · from #9966B0 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #805393 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.30:1 | AAA pass 4.5:1 | |
| Text on surface | 13.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 11.38:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 10.56:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.65:1 | AA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 3.41: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 | #331A40 (Text 1) | #4D2D5C (Text 2) | #664077 (Text 3) | #805393 (Text 4) | #9966B0 (Text 5) |
|---|---|---|---|---|---|
| #331A40 | Same color | 1.35— | 1.88— | 2.62— | 3.58AA Large |
| #4D2D5C | 1.35— | Same color | 1.39— | 1.94— | 2.65— |
| #664077 | 1.88— | 1.39— | Same color | 1.39— | 1.90— |
| #805393 | 2.62— | 1.94— | 1.39— | Same color | 1.37— |
| #9966B0 | 3.58AA Large | 2.65— | 1.90— | 1.37— | Same color |
Shades
Shades and tints (50–950)
