PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Frost — colorset.net */
:root {
--color-1: #C3CDE6;
--color-2: #D0D9E8;
--color-3: #DDDEE8;
--color-4: #E6E8FA;
--color-5: #F0F0FF;
--color-bg: #F0F0FF;
--color-surface: #F8F8FF;
--color-border: #D7D7E9;
--color-text: #474F64;
--color-muted: #636C82;
--color-primary: #828BA3;
--color-on-primary: #000000;
--color-accent: #535A6D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0F16;
--color-surface: #171920;
--color-border: #2A2E38;
--color-text: #F0F0FF;
--color-muted: #878794;
--color-primary: #C3CDE6;
--color-on-primary: #0D0F16;
--color-accent: #9098AC;
--color-on-accent: #0D0F16;
}
}
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 #C3CDE6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C3CDE6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C3CDE6 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C3CDE6 | adjusted for contrast · from #C3CDE6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.24:1 | AAA pass 4.5:1 | |
| Text on surface | 7.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 6.17:1 | AA pass 4.5:1 | |
| Label on accent | 6.88:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 6.10:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.97:1 | AAA pass 4.5:1 | |
| Text on surface | 15.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 12.03:1 | AAA pass 4.5:1 | |
| Label on accent | 6.63:1 | AA pass 4.5:1 | |
| Primary on background | 12.03:1 | AAA pass 3:1 | |
| Accent on background | 6.63: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 | #C3CDE6 (Text 1) | #D0D9E8 (Text 2) | #DDDEE8 (Text 3) | #E6E8FA (Text 4) | #F0F0FF (Text 5) |
|---|---|---|---|---|---|
| #C3CDE6 | Same color | 1.12— | 1.19— | 1.31— | 1.41— |
| #D0D9E8 | 1.12— | Same color | 1.06— | 1.17— | 1.26— |
| #DDDEE8 | 1.19— | 1.06— | Same color | 1.10— | 1.19— |
| #E6E8FA | 1.31— | 1.17— | 1.10— | Same color | 1.08— |
| #F0F0FF | 1.41— | 1.26— | 1.19— | 1.08— | Same color |
Shades
Shades and tints (50–950)
