PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Cloud — colorset.net */
:root {
--color-1: #E6E6FA;
--color-2: #B0C4DE;
--color-3: #87CEFA;
--color-4: #87CEEB;
--color-5: #ADD8E6;
--color-bg: #E6E6FA;
--color-surface: #EEEEFA;
--color-border: #CDCDE4;
--color-text: #3C4D63;
--color-muted: #57687D;
--color-primary: #357CA5;
--color-on-primary: #FFFFFF;
--color-accent: #828193;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1017;
--color-surface: #141A21;
--color-border: #262E39;
--color-text: #E6E6FA;
--color-muted: #828294;
--color-primary: #87CEFA;
--color-on-primary: #0A1017;
--color-accent: #ADD8E6;
--color-on-accent: #0A1017;
}
}
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 1 | adjusted for contrast · from #B0C4DE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B0C4DE | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #87CEEB | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B0C4DE | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.01:1 | AAA pass 4.5:1 | |
| Text on surface | 7.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.73:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.52:1 | AAA pass 4.5:1 | |
| Text on surface | 14.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 11.13:1 | AAA pass 4.5:1 | |
| Label on accent | 12.50:1 | AAA pass 4.5:1 | |
| Primary on background | 11.13:1 | AAA pass 3:1 | |
| Accent on background | 12.50: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 | #E6E6FA (Text 1) | #B0C4DE (Text 2) | #87CEFA (Text 3) | #87CEEB (Text 4) | #ADD8E6 (Text 5) |
|---|---|---|---|---|---|
| #E6E6FA | Same color | 1.45— | 1.39— | 1.42— | 1.24— |
| #B0C4DE | 1.45— | Same color | 1.04— | 1.02— | 1.16— |
| #87CEFA | 1.39— | 1.04— | Same color | 1.01— | 1.12— |
| #87CEEB | 1.42— | 1.02— | 1.01— | Same color | 1.14— |
| #ADD8E6 | 1.24— | 1.16— | 1.12— | 1.14— | Same color |
Shades
Shades and tints (50–950)
