PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Dream — colorset.net */
:root {
--color-1: #B8B8E6;
--color-2: #C7C7EB;
--color-3: #D6D6F0;
--color-4: #E5E5F5;
--color-5: #F4F4FA;
--color-bg: #F4F4FA;
--color-surface: #FCFCFF;
--color-border: #DBDBE4;
--color-text: #4E4D75;
--color-muted: #6C6C86;
--color-primary: #8A8AB5;
--color-on-primary: #000000;
--color-accent: #5A597B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0E1A;
--color-surface: #181825;
--color-border: #2C2C3D;
--color-text: #F4F4FA;
--color-muted: #89898F;
--color-primary: #B8B8E6;
--color-on-primary: #0E0E1A;
--color-accent: #D6D6F0;
--color-on-accent: #0E0E1A;
}
}
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 #B8B8E6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8B8E6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8B8E6 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8B8E6 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.25:1 | AAA pass 4.5:1 | |
| Text on surface | 7.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 6.38:1 | AA pass 4.5:1 | |
| Label on accent | 6.67:1 | AA pass 4.5:1 | |
| Primary on background | 3.00:1 | AA Large pass 3:1 | |
| Accent on background | 6.09:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.48:1 | AAA pass 4.5:1 | |
| Text on surface | 16.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.51:1 | AA pass 4.5:1 | |
| Label on primary | 10.07:1 | AAA pass 4.5:1 | |
| Label on accent | 13.44:1 | AAA pass 4.5:1 | |
| Primary on background | 10.07:1 | AAA pass 3:1 | |
| Accent on background | 13.44: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 | #B8B8E6 (Text 1) | #C7C7EB (Text 2) | #D6D6F0 (Text 3) | #E5E5F5 (Text 4) | #F4F4FA (Text 5) |
|---|---|---|---|---|---|
| #B8B8E6 | Same color | 1.16— | 1.34— | 1.53— | 1.74— |
| #C7C7EB | 1.16— | Same color | 1.15— | 1.32— | 1.50— |
| #D6D6F0 | 1.34— | 1.15— | Same color | 1.14— | 1.30— |
| #E5E5F5 | 1.53— | 1.32— | 1.14— | Same color | 1.14— |
| #F4F4FA | 1.74— | 1.50— | 1.30— | 1.14— | Same color |
Shades
Shades and tints (50–950)
