PreviewingGo to this paletteOpen in generator
Code
/* Lavender Rows — colorset.net */
:root {
--color-1: #F7F4FA;
--color-2: #8E79B5;
--color-3: #7FA08A;
--color-4: #E3DCEE;
--color-5: #262233;
--color-bg: #F7F4FA;
--color-surface: #FEFCFF;
--color-border: #DFDAE4;
--color-text: #262233;
--color-muted: #706C80;
--color-primary: #7F6AA5;
--color-on-primary: #FFFFFF;
--color-accent: #73947E;
--color-on-accent: #262233;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100E14;
--color-surface: #1A181F;
--color-border: #2E2C36;
--color-text: #F7F4FA;
--color-muted: #8C898F;
--color-primary: #7F6AA5;
--color-on-primary: #FFFFFF;
--color-accent: #7FA08A;
--color-on-accent: #100E14;
}
}
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 #262233 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8E79B5 | adjusted for contrast · from #8E79B5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7FA08A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.18:1 | AAA pass 4.5:1 | |
| Text on surface | 15.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.60:1 | AAA pass 4.5:1 | |
| Text on surface | 16.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 6.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 6.66: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 | #F7F4FA (Text 1) | #8E79B5 (Text 2) | #7FA08A (Text 3) | #E3DCEE (Text 4) | #262233 (Text 5) |
|---|---|---|---|---|---|
| #F7F4FA | Same color | 3.47AA Large | 2.64— | 1.22— | 14.18AAA |
| #8E79B5 | 3.47AA Large | Same color | 1.31— | 2.83— | 4.09AA Large |
| #7FA08A | 2.64— | 1.31— | Same color | 2.16— | 5.37AA |
| #E3DCEE | 1.22— | 2.83— | 2.16— | Same color | 11.58AAA |
| #262233 | 14.18AAA | 4.09AA Large | 5.37AA | 11.58AAA | Same color |
Shades
Shades and tints (50–950)
