PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Silver — colorset.net */
:root {
--color-1: #AAAACC;
--color-2: #BBBBDD;
--color-3: #CCCCEE;
--color-4: #DDDDFF;
--color-5: #EEEEFF;
--color-bg: #EEEEFF;
--color-surface: #F6F6FF;
--color-border: #D5D5E9;
--color-text: #4D4C6A;
--color-muted: #696982;
--color-primary: #8585A6;
--color-on-primary: #000000;
--color-accent: #55556F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0E18;
--color-surface: #181822;
--color-border: #2C2C3A;
--color-text: #EEEEFF;
--color-muted: #868695;
--color-primary: #AAAACC;
--color-on-primary: #0E0E18;
--color-accent: #DDDDFF;
--color-on-accent: #0E0E18;
}
}
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 5 | adjusted for contrast · from #AAAACC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AAAACC | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AAAACC | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AAAACC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.16:1 | AAA pass 4.5:1 | |
| Text on surface | 7.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 5.90:1 | AA pass 4.5:1 | |
| Label on accent | 7.20:1 | AAA pass 4.5:1 | |
| Primary on background | 3.10:1 | AA Large pass 3:1 | |
| Accent on background | 6.28:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.73:1 | AAA pass 4.5:1 | |
| Text on surface | 15.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.35:1 | AA pass 4.5:1 | |
| Label on primary | 8.52:1 | AAA pass 4.5:1 | |
| Label on accent | 14.49:1 | AAA pass 4.5:1 | |
| Primary on background | 8.52:1 | AAA pass 3:1 | |
| Accent on background | 14.49: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 | #AAAACC (Text 1) | #BBBBDD (Text 2) | #CCCCEE (Text 3) | #DDDDFF (Text 4) | #EEEEFF (Text 5) |
|---|---|---|---|---|---|
| #AAAACC | Same color | 1.21— | 1.44— | 1.70— | 1.96— |
| #BBBBDD | 1.21— | Same color | 1.19— | 1.41— | 1.63— |
| #CCCCEE | 1.44— | 1.19— | Same color | 1.18— | 1.36— |
| #DDDDFF | 1.70— | 1.41— | 1.18— | Same color | 1.15— |
| #EEEEFF | 1.96— | 1.63— | 1.36— | 1.15— | Same color |
Shades
Shades and tints (50–950)
