PreviewingGo to this paletteOpen in generator
Code
/* Gentle Lavender — colorset.net */
:root {
--color-1: #F8F6FC;
--color-2: #7B6CD9;
--color-3: #F4A259;
--color-4: #D3CCF1;
--color-5: #262142;
--color-bg: #F8F6FC;
--color-surface: #EFEDF3;
--color-border: #D7D3DD;
--color-text: #262142;
--color-muted: #6A6881;
--color-primary: #7566D2;
--color-on-primary: #FFFFFF;
--color-accent: #C57629;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0E19;
--color-surface: #191824;
--color-border: #2D2C3C;
--color-text: #F8F6FC;
--color-muted: #8C8A90;
--color-primary: #7566D2;
--color-on-primary: #FFFFFF;
--color-accent: #F4A259;
--color-on-accent: #0F0E19;
}
}
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 #262142 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7B6CD9 | adjusted for contrast · from #7B6CD9 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4A259 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.20:1 | AAA pass 4.5:1 | |
| Text on surface | 13.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.85:1 | AAA pass 4.5:1 | |
| Text on surface | 16.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.61:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 9.26:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 9.26: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 | #F8F6FC (Text 1) | #7B6CD9 (Text 2) | #F4A259 (Text 3) | #D3CCF1 (Text 4) | #262142 (Text 5) |
|---|---|---|---|---|---|
| #F8F6FC | Same color | 3.92AA Large | 1.93— | 1.43— | 14.20AAA |
| #7B6CD9 | 3.92AA Large | Same color | 2.04— | 2.74— | 3.62AA Large |
| #F4A259 | 1.93— | 2.04— | Same color | 1.35— | 7.37AAA |
| #D3CCF1 | 1.43— | 2.74— | 1.35— | Same color | 9.92AAA |
| #262142 | 14.20AAA | 3.62AA Large | 7.37AAA | 9.92AAA | Same color |
Shades
Shades and tints (50–950)
