PreviewingGo to this paletteOpen in generator
Code
/* Dusty Fig — colorset.net */
:root {
--color-1: #311432;
--color-2: #614051;
--color-3: #875C74;
--color-4: #A0778E;
--color-5: #B490A6;
--color-bg: #FFF3FA;
--color-surface: #F5EAF1;
--color-border: #DFD0D9;
--color-text: #311432;
--color-muted: #796579;
--color-primary: #875C74;
--color-on-primary: #FFFFFF;
--color-accent: #A17E94;
--color-on-accent: #311432;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #311432;
--color-surface: #3D1F3E;
--color-border: #4D3B4D;
--color-text: #D0ACC2;
--color-muted: #A48999;
--color-primary: #936780;
--color-on-primary: #FFFFFF;
--color-accent: #B490A6;
--color-on-accent: #311432;
}
}
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 #B490A6 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #B490A6 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #875C74 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A0778E | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.24:1 | AAA pass 4.5:1 | |
| Text on surface | 14.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.51:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 5.10:1 | AA pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.12:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.18:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 5.86:1 | AA 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 | #311432 (Text 1) | #614051 (Text 2) | #875C74 (Text 3) | #A0778E (Text 4) | #B490A6 (Text 5) |
|---|---|---|---|---|---|
| #311432 | Same color | 1.85— | 2.99— | 4.33AA Large | 5.86AA |
| #614051 | 1.85— | Same color | 1.62— | 2.34— | 3.17AA Large |
| #875C74 | 2.99— | 1.62— | Same color | 1.45— | 1.96— |
| #A0778E | 4.33AA Large | 2.34— | 1.45— | Same color | 1.35— |
| #B490A6 | 5.86AA | 3.17AA Large | 1.96— | 1.35— | Same color |
Shades
Shades and tints (50–950)
