PreviewingGo to this paletteOpen in generator
Code
/* Lavender Blue — colorset.net */
:root {
--color-1: #666699;
--color-2: #7777AA;
--color-3: #8888BB;
--color-4: #9999CC;
--color-5: #AAAADD;
--color-bg: #F6F6FF;
--color-surface: #EBECFB;
--color-border: #D2D3E5;
--color-text: #4B4A7A;
--color-muted: #686983;
--color-primary: #7777AA;
--color-on-primary: #000000;
--color-accent: #484870;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1D;
--color-surface: #171728;
--color-border: #2B2B40;
--color-text: #ACACCF;
--color-muted: #80809B;
--color-primary: #7777AA;
--color-on-primary: #0E0D1D;
--color-accent: #9999CC;
--color-on-accent: #0E0D1D;
}
}
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 | adjusted for contrast · from #AAAADD | adjusted for contrast · from #666699 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #666699 | adjusted for contrast · from #AAAADD |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #666699 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.00:1 | AA pass 4.5:1 | |
| Label on accent | 8.62:1 | AAA pass 4.5:1 | |
| Primary on background | 3.91:1 | AA Large pass 3:1 | |
| Accent on background | 8.02:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.74:1 | AAA pass 4.5:1 | |
| Text on surface | 8.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 7.11:1 | AAA pass 4.5:1 | |
| Primary on background | 4.57:1 | AA pass 3:1 | |
| Accent on background | 7.11: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 | #666699 (Text 1) | #7777AA (Text 2) | #8888BB (Text 3) | #9999CC (Text 4) | #AAAADD (Text 5) |
|---|---|---|---|---|---|
| #666699 | Same color | 1.27— | 1.60— | 1.98— | 2.42— |
| #7777AA | 1.27— | Same color | 1.26— | 1.56— | 1.90— |
| #8888BB | 1.60— | 1.26— | Same color | 1.24— | 1.51— |
| #9999CC | 1.98— | 1.56— | 1.24— | Same color | 1.22— |
| #AAAADD | 2.42— | 1.90— | 1.51— | 1.22— | Same color |
Shades
Shades and tints (50–950)
