PreviewingGo to this paletteOpen in generator
Code
/* Berry Smoothie — colorset.net */
:root {
--color-1: #8B008B;
--color-2: #FF69B4;
--color-3: #FFB6C1;
--color-4: #FFC0CB;
--color-5: #FFCCCB;
--color-bg: #FFF4F3;
--color-surface: #F9E9E9;
--color-border: #E3CFCF;
--color-text: #6C3E6A;
--color-muted: #7A6578;
--color-primary: #8B008B;
--color-on-primary: #FFFFFF;
--color-accent: #AA7B7B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #FACECD;
--color-muted: #997979;
--color-primary: #A92FA7;
--color-on-primary: #FFFFFF;
--color-accent: #FFB6C1;
--color-on-accent: #180917;
}
}
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 #FFCCCB | adjusted for contrast · from #8B008B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B008B | adjusted for contrast · from #FFCCCB |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #8B008B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF69B4 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 8.50:1 | AAA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 7.89:1 | AAA pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.55:1 | AAA pass 4.5:1 | |
| Text on surface | 12.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.75:1 | AA pass 4.5:1 | |
| Label on accent | 11.66:1 | AAA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 11.66: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 | #8B008B (Text 1) | #FF69B4 (Text 2) | #FFB6C1 (Text 3) | #FFC0CB (Text 4) | #FFCCCB (Text 5) |
|---|---|---|---|---|---|
| #8B008B | Same color | 3.21AA Large | 5.15AA | 5.53AA | 5.97AA |
| #FF69B4 | 3.21AA Large | Same color | 1.60— | 1.72— | 1.86— |
| #FFB6C1 | 5.15AA | 1.60— | Same color | 1.07— | 1.16— |
| #FFC0CB | 5.53AA | 1.72— | 1.07— | Same color | 1.08— |
| #FFCCCB | 5.97AA | 1.86— | 1.16— | 1.08— | Same color |
Shades
Shades and tints (50–950)
