PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Chalk — colorset.net */
:root {
--color-1: #8E9FCC;
--color-2: #A0B0DC;
--color-3: #B8C7E8;
--color-4: #D0DCF0;
--color-5: #E6EDF8;
--color-bg: #E6EDF8;
--color-surface: #F0F4FB;
--color-border: #CCD5E3;
--color-text: #3F4D75;
--color-muted: #606982;
--color-primary: #7687B2;
--color-on-primary: #000000;
--color-accent: #495678;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0F1B;
--color-surface: #141926;
--color-border: #272D3E;
--color-text: #E6EDF8;
--color-muted: #808690;
--color-primary: #8E9FCC;
--color-on-primary: #0A0F1B;
--color-accent: #D0DCF0;
--color-on-accent: #0A0F1B;
}
}
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 #8E9FCC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8E9FCC | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8E9FCC | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8E9FCC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.05:1 | AAA pass 4.5:1 | |
| Text on surface | 7.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 5.88:1 | AA pass 4.5:1 | |
| Label on accent | 7.28:1 | AAA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 6.18:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.26:1 | AAA pass 4.5:1 | |
| Text on surface | 14.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 7.28:1 | AAA pass 4.5:1 | |
| Label on accent | 13.83:1 | AAA pass 4.5:1 | |
| Primary on background | 7.28:1 | AAA pass 3:1 | |
| Accent on background | 13.83: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 | #8E9FCC (Text 1) | #A0B0DC (Text 2) | #B8C7E8 (Text 3) | #D0DCF0 (Text 4) | #E6EDF8 (Text 5) |
|---|---|---|---|---|---|
| #8E9FCC | Same color | 1.22— | 1.55— | 1.90— | 2.23— |
| #A0B0DC | 1.22— | Same color | 1.27— | 1.56— | 1.83— |
| #B8C7E8 | 1.55— | 1.27— | Same color | 1.23— | 1.44— |
| #D0DCF0 | 1.90— | 1.56— | 1.23— | Same color | 1.18— |
| #E6EDF8 | 2.23— | 1.83— | 1.44— | 1.18— | Same color |
Shades
Shades and tints (50–950)
