PreviewingGo to this paletteOpen in generator
Code
/* Aubergine Plum — colorset.net */
:root {
--color-1: #3B1E54;
--color-2: #5B2E48;
--color-3: #6B3E5B;
--color-4: #8B5A8C;
--color-5: #9B6FAA;
--color-bg: #FCF3FF;
--color-surface: #F3EAF7;
--color-border: #DCD0E0;
--color-text: #3A2052;
--color-muted: #70657D;
--color-primary: #9266A1;
--color-on-primary: #FFFFFF;
--color-accent: #5B2E48;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1D1526;
--color-border: #33293E;
--color-text: #B49EBC;
--color-muted: #8E7D94;
--color-primary: #9266A1;
--color-on-primary: #FFFFFF;
--color-accent: #885772;
--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 #9B6FAA | adjusted for contrast · from #3B1E54 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3B1E54 | adjusted for contrast · from #9B6FAA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9B6FAA | adjusted for contrast · from #9B6FAA |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #8B5A8C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.86:1 | AAA pass 4.5:1 | |
| Text on surface | 11.88:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 10.89:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 10.06:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.75:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #3B1E54 (Text 1) | #5B2E48 (Text 2) | #6B3E5B (Text 3) | #8B5A8C (Text 4) | #9B6FAA (Text 5) |
|---|---|---|---|---|---|
| #3B1E54 | Same color | 1.29— | 1.64— | 2.63— | 3.50AA Large |
| #5B2E48 | 1.29— | Same color | 1.28— | 2.04— | 2.72— |
| #6B3E5B | 1.64— | 1.28— | Same color | 1.60— | 2.13— |
| #8B5A8C | 2.63— | 2.04— | 1.60— | Same color | 1.33— |
| #9B6FAA | 3.50AA Large | 2.72— | 2.13— | 1.33— | Same color |
Shades
Shades and tints (50–950)
