PreviewingGo to this paletteOpen in generator
Code
/* Lavender Drying Rack — colorset.net */
:root {
--color-1: #F4F1F6;
--color-2: #8D7BB5;
--color-3: #A7B595;
--color-4: #D9C7A0;
--color-5: #3A3350;
--color-bg: #F4F1F6;
--color-surface: #FBF9FC;
--color-border: #DCD7E0;
--color-text: #3A3350;
--color-muted: #706B85;
--color-primary: #7E6CA5;
--color-on-primary: #FFFFFF;
--color-accent: #9A8964;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100E17;
--color-surface: #1A1822;
--color-border: #2E2B39;
--color-text: #F4F1F6;
--color-muted: #8A888C;
--color-primary: #7E6CA5;
--color-on-primary: #FFFFFF;
--color-accent: #D9C7A0;
--color-on-accent: #100E17;
}
}
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 #3A3350 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8D7BB5 | adjusted for contrast · from #8D7BB5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A7B595 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.60:1 | AAA pass 4.5:1 | |
| Text on surface | 11.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 6.14:1 | AA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.10:1 | AAA pass 4.5:1 | |
| Text on surface | 15.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.45:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 11.51:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 11.51: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 | #F4F1F6 (Text 1) | #8D7BB5 (Text 2) | #A7B595 (Text 3) | #D9C7A0 (Text 4) | #3A3350 (Text 5) |
|---|---|---|---|---|---|
| #F4F1F6 | Same color | 3.33AA Large | 1.94— | 1.49— | 10.60AAA |
| #8D7BB5 | 3.33AA Large | Same color | 1.72— | 2.24— | 3.18AA Large |
| #A7B595 | 1.94— | 1.72— | Same color | 1.30— | 5.47AA |
| #D9C7A0 | 1.49— | 2.24— | 1.30— | Same color | 7.14AAA |
| #3A3350 | 10.60AAA | 3.18AA Large | 5.47AA | 7.14AAA | Same color |
Shades
Shades and tints (50–950)
