PreviewingGo to this paletteOpen in generator
Code
/* Lavender Soft — colorset.net */
:root {
--color-1: #E6E6FA;
--color-2: #DDA0DD;
--color-3: #D8BFD8;
--color-4: #C8A8C8;
--color-5: #B8A0B8;
--color-bg: #E6E6FA;
--color-surface: #EEEEFA;
--color-border: #CDCDE4;
--color-text: #584358;
--color-muted: #766276;
--color-primary: #99609A;
--color-on-primary: #FFFFFF;
--color-accent: #828193;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130D13;
--color-surface: #1E171E;
--color-border: #342A34;
--color-text: #E6E6FA;
--color-muted: #828294;
--color-primary: #DDA0DD;
--color-on-primary: #130D13;
--color-accent: #D8BFD8;
--color-on-accent: #130D13;
}
}
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 #B8A0B8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8A0B8 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8A0B8 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8A0B8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.23:1 | AAA pass 4.5:1 | |
| Text on surface | 7.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.59:1 | AAA pass 4.5:1 | |
| Text on surface | 14.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 9.27:1 | AAA pass 4.5:1 | |
| Label on accent | 11.29:1 | AAA pass 4.5:1 | |
| Primary on background | 9.27:1 | AAA pass 3:1 | |
| Accent on background | 11.29: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 | #E6E6FA (Text 1) | #DDA0DD (Text 2) | #D8BFD8 (Text 3) | #C8A8C8 (Text 4) | #B8A0B8 (Text 5) |
|---|---|---|---|---|---|
| #E6E6FA | Same color | 1.68— | 1.38— | 1.73— | 1.95— |
| #DDA0DD | 1.68— | Same color | 1.22— | 1.03— | 1.16— |
| #D8BFD8 | 1.38— | 1.22— | Same color | 1.25— | 1.41— |
| #C8A8C8 | 1.73— | 1.03— | 1.25— | Same color | 1.13— |
| #B8A0B8 | 1.95— | 1.16— | 1.41— | 1.13— | Same color |
Shades
Shades and tints (50–950)
