PreviewingGo to this paletteOpen in generator
Code
/* Berry Crush — colorset.net */
:root {
--color-1: #8B008B;
--color-2: #A020F0;
--color-3: #BA55D3;
--color-4: #DA70D6;
--color-5: #7A007A;
--color-bg: #FFF2FE;
--color-surface: #F5E9F4;
--color-border: #DFCFDD;
--color-text: #633662;
--color-muted: #786276;
--color-primary: #A020F0;
--color-on-primary: #FFFFFF;
--color-accent: #7A007A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #B79BB5;
--color-muted: #917B8F;
--color-primary: #A020F0;
--color-on-primary: #FFFFFF;
--color-accent: #A439A2;
--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 #DA70D6 | adjusted for contrast · from #7A007A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7A007A | adjusted for contrast · from #DA70D6 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 5 | adjusted for contrast · from #8B008B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.30:1 | AA pass 4.5:1 | |
| Label on accent | 9.96:1 | AAA pass 4.5:1 | |
| Primary on background | 4.90:1 | AA pass 3:1 | |
| Accent on background | 9.19:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.30:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 3.63:1 | AA Large pass 3:1 | |
| Accent on background | 3.38: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 | #8B008B (Text 1) | #A020F0 (Text 2) | #BA55D3 (Text 3) | #DA70D6 (Text 4) | #7A007A (Text 5) |
|---|---|---|---|---|---|
| #8B008B | Same color | 1.60— | 2.16— | 2.94— | 1.17— |
| #A020F0 | 1.60— | Same color | 1.35— | 1.84— | 1.88— |
| #BA55D3 | 2.16— | 1.35— | Same color | 1.36— | 2.53— |
| #DA70D6 | 2.94— | 1.84— | 1.36— | Same color | 3.45AA Large |
| #7A007A | 1.17— | 1.88— | 2.53— | 3.45AA Large | Same color |
Shades
Shades and tints (50–950)
