PreviewingGo to this paletteOpen in generator
Code
/* Lavender Scone — colorset.net */
:root {
--color-1: #F8F5FE;
--color-2: #9E80D1;
--color-3: #DBB970;
--color-4: #D2C7EA;
--color-5: #322843;
--color-bg: #F8F5FE;
--color-surface: #EFECF5;
--color-border: #D7D2DF;
--color-text: #322843;
--color-muted: #706881;
--color-primary: #987ACA;
--color-on-primary: #000000;
--color-accent: #927226;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110D17;
--color-surface: #1B1721;
--color-border: #302B39;
--color-text: #F8F5FE;
--color-muted: #8C8A92;
--color-primary: #9E80D1;
--color-on-primary: #110D17;
--color-accent: #DBB970;
--color-on-accent: #110D17;
}
}
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 #322843 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9E80D1 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9E80D1 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.82:1 | AAA pass 4.5:1 | |
| Text on surface | 11.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.18:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.81:1 | AAA pass 4.5:1 | |
| Text on surface | 16.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.64:1 | AA pass 4.5:1 | |
| Label on primary | 5.91:1 | AA pass 4.5:1 | |
| Label on accent | 10.23:1 | AAA pass 4.5:1 | |
| Primary on background | 5.91:1 | AA pass 3:1 | |
| Accent on background | 10.23: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 | #F8F5FE (Text 1) | #9E80D1 (Text 2) | #DBB970 (Text 3) | #D2C7EA (Text 4) | #322843 (Text 5) |
|---|---|---|---|---|---|
| #F8F5FE | Same color | 3.01AA Large | 1.74— | 1.49— | 12.82AAA |
| #9E80D1 | 3.01AA Large | Same color | 1.73— | 2.03— | 4.25AA Large |
| #DBB970 | 1.74— | 1.73— | Same color | 1.17— | 7.36AAA |
| #D2C7EA | 1.49— | 2.03— | 1.17— | Same color | 8.62AAA |
| #322843 | 12.82AAA | 4.25AA Large | 7.36AAA | 8.62AAA | Same color |
Shades
Shades and tints (50–950)
