PreviewingGo to this paletteOpen in generator
Code
/* Navy Lilac — colorset.net */
:root {
--color-1: #191970;
--color-2: #3D3D8B;
--color-3: #6161A6;
--color-4: #8585C1;
--color-5: #A9A9DC;
--color-bg: #F5F6FF;
--color-surface: #EBECFB;
--color-border: #D2D3E5;
--color-text: #1D2557;
--color-muted: #636A83;
--color-primary: #6161A6;
--color-on-primary: #FFFFFF;
--color-accent: #191970;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0E1F;
--color-surface: #14182A;
--color-border: #272C42;
--color-text: #ABABCE;
--color-muted: #7F809A;
--color-primary: #6161A6;
--color-on-primary: #FFFFFF;
--color-accent: #8585C1;
--color-on-accent: #0A0E1F;
}
}
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 #A9A9DC | adjusted for contrast · from #191970 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #191970 | adjusted for contrast · from #A9A9DC |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.41:1 | AAA pass 4.5:1 | |
| Text on surface | 12.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 14.85:1 | AAA pass 4.5:1 | |
| Primary on background | 5.18:1 | AA pass 3:1 | |
| Accent on background | 13.79:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.44:1 | AA Large pass 3:1 | |
| Accent on background | 5.59: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 | #191970 (Text 1) | #3D3D8B (Text 2) | #6161A6 (Text 3) | #8585C1 (Text 4) | #A9A9DC (Text 5) |
|---|---|---|---|---|---|
| #191970 | Same color | 1.58— | 2.66— | 4.33AA Large | 6.64AA |
| #3D3D8B | 1.58— | Same color | 1.68— | 2.73— | 4.20AA Large |
| #6161A6 | 2.66— | 1.68— | Same color | 1.62— | 2.49— |
| #8585C1 | 4.33AA Large | 2.73— | 1.62— | Same color | 1.53— |
| #A9A9DC | 6.64AA | 4.20AA Large | 2.49— | 1.53— | Same color |
Shades
Shades and tints (50–950)
