PreviewingGo to this paletteOpen in generator
Code
/* Bubblegum Wrapper — colorset.net */
:root {
--color-1: #FDEDF4;
--color-2: #FFBFDC;
--color-3: #8DE8F8;
--color-4: #F2E7A0;
--color-5: #CEB6FC;
--color-bg: #FDEDF4;
--color-surface: #FFF7FA;
--color-border: #E7D3DC;
--color-text: #5B467D;
--color-muted: #726A83;
--color-primary: #967EC0;
--color-on-primary: #000000;
--color-accent: #968B46;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120C1C;
--color-surface: #1C1627;
--color-border: #31293F;
--color-text: #FDEDF4;
--color-muted: #92848A;
--color-primary: #CEB6FC;
--color-on-primary: #120C1C;
--color-accent: #F2E7A0;
--color-on-accent: #120C1C;
}
}
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 | adjusted for contrast · from #CEB6FC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CEB6FC | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CEB6FC | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CEB6FC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.11:1 | AAA pass 4.5:1 | |
| Text on surface | 7.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 6.04:1 | AA pass 4.5:1 | |
| Label on accent | 6.08:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.98:1 | AAA pass 4.5:1 | |
| Text on surface | 15.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 10.70:1 | AAA pass 4.5:1 | |
| Label on accent | 15.26:1 | AAA pass 4.5:1 | |
| Primary on background | 10.70:1 | AAA pass 3:1 | |
| Accent on background | 15.26: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 | #FDEDF4 (Text 1) | #FFBFDC (Text 2) | #8DE8F8 (Text 3) | #F2E7A0 (Text 4) | #CEB6FC (Text 5) |
|---|---|---|---|---|---|
| #FDEDF4 | Same color | 1.35— | 1.24— | 1.11— | 1.59— |
| #FFBFDC | 1.35— | Same color | 1.09— | 1.22— | 1.17— |
| #8DE8F8 | 1.24— | 1.09— | Same color | 1.11— | 1.28— |
| #F2E7A0 | 1.11— | 1.22— | 1.11— | Same color | 1.43— |
| #CEB6FC | 1.59— | 1.17— | 1.28— | 1.43— | Same color |
Shades
Shades and tints (50–950)
