PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Bright — colorset.net */
:root {
--color-1: #9BB4D6;
--color-2: #AABEE0;
--color-3: #BBCCFF;
--color-4: #CCD9F5;
--color-5: #DDE6FF;
--color-bg: #F4F7FE;
--color-surface: #EAEDF5;
--color-border: #D1D5E0;
--color-text: #394F6C;
--color-muted: #5B6C82;
--color-primary: #7189A9;
--color-on-primary: #000000;
--color-accent: #455771;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091019;
--color-surface: #131A24;
--color-border: #252E3C;
--color-text: #DDE6FF;
--color-muted: #7A8299;
--color-primary: #9BB4D6;
--color-on-primary: #091019;
--color-accent: #BBCCFF;
--color-on-accent: #091019;
}
}
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 #DDE6FF | adjusted for contrast · from #9BB4D6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9BB4D6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9BB4D6 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9BB4D6 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 7.36:1 | AAA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.86:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.31:1 | AAA pass 4.5:1 | |
| Text on surface | 14.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 9.00:1 | AAA pass 4.5:1 | |
| Label on accent | 12.00:1 | AAA pass 4.5:1 | |
| Primary on background | 9.00:1 | AAA pass 3:1 | |
| Accent on background | 12.00: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 | #9BB4D6 (Text 1) | #AABEE0 (Text 2) | #BBCCFF (Text 3) | #CCD9F5 (Text 4) | #DDE6FF (Text 5) |
|---|---|---|---|---|---|
| #9BB4D6 | Same color | 1.13— | 1.33— | 1.50— | 1.70— |
| #AABEE0 | 1.13— | Same color | 1.18— | 1.33— | 1.51— |
| #BBCCFF | 1.33— | 1.18— | Same color | 1.12— | 1.28— |
| #CCD9F5 | 1.50— | 1.33— | 1.12— | Same color | 1.14— |
| #DDE6FF | 1.70— | 1.51— | 1.28— | 1.14— | Same color |
Shades
Shades and tints (50–950)
