PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Deep — colorset.net */
:root {
--color-1: #6E7AB8;
--color-2: #7B89CC;
--color-3: #8A99E0;
--color-4: #99AAF5;
--color-5: #A8BBFF;
--color-bg: #F4F6FF;
--color-surface: #E9EDFB;
--color-border: #CFD4E6;
--color-text: #40497F;
--color-muted: #646982;
--color-primary: #6571AE;
--color-on-primary: #FFFFFF;
--color-accent: #7586C6;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0E1E;
--color-surface: #15182A;
--color-border: #282C42;
--color-text: #B3BDE0;
--color-muted: #7A819B;
--color-primary: #6571AE;
--color-on-primary: #FFFFFF;
--color-accent: #99AAF5;
--color-on-accent: #0B0E1E;
}
}
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 #A8BBFF | adjusted for contrast · from #6E7AB8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6E7AB8 | adjusted for contrast · from #A8BBFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6E7AB8 | adjusted for contrast · from #6E7AB8 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7B89CC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.29:1 | AAA pass 4.5:1 | |
| Text on surface | 9.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.60:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 8.60: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 | #6E7AB8 (Text 1) | #7B89CC (Text 2) | #8A99E0 (Text 3) | #99AAF5 (Text 4) | #A8BBFF (Text 5) |
|---|---|---|---|---|---|
| #6E7AB8 | Same color | 1.22— | 1.50— | 1.83— | 2.18— |
| #7B89CC | 1.22— | Same color | 1.23— | 1.50— | 1.78— |
| #8A99E0 | 1.50— | 1.23— | Same color | 1.22— | 1.45— |
| #99AAF5 | 1.83— | 1.50— | 1.22— | Same color | 1.19— |
| #A8BBFF | 2.18— | 1.78— | 1.45— | 1.19— | Same color |
Shades
Shades and tints (50–950)
