PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Snow — colorset.net */
:root {
--color-1: #6C7EB8;
--color-2: #7F95D1;
--color-3: #CCCCFF;
--color-4: #E6E6FA;
--color-5: #F0F8FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #3B4A7F;
--color-muted: #616A82;
--color-primary: #6172AB;
--color-on-primary: #FFFFFF;
--color-accent: #82898F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0E1F;
--color-surface: #13182A;
--color-border: #262D42;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #6172AB;
--color-on-primary: #FFFFFF;
--color-accent: #CCCCFF;
--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 | from palette · color 5 | adjusted for contrast · from #6C7EB8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6C7EB8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6C7EB8 | adjusted for contrast · from #6C7EB8 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6C7EB8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.87:1 | AAA pass 4.5:1 | |
| Text on surface | 16.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 12.46:1 | AAA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 12.46: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 | #6C7EB8 (Text 1) | #7F95D1 (Text 2) | #CCCCFF (Text 3) | #E6E6FA (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #6C7EB8 | Same color | 1.34— | 2.57— | 3.21AA Large | 3.68AA Large |
| #7F95D1 | 1.34— | Same color | 1.92— | 2.40— | 2.75— |
| #CCCCFF | 2.57— | 1.92— | Same color | 1.25— | 1.43— |
| #E6E6FA | 3.21AA Large | 2.40— | 1.25— | Same color | 1.15— |
| #F0F8FF | 3.68AA Large | 2.75— | 1.43— | 1.15— | Same color |
Shades
Shades and tints (50–950)
