PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Veil — colorset.net */
:root {
--color-1: #B8B8FF;
--color-2: #C7C7FF;
--color-3: #D6D6FF;
--color-4: #E6E6FF;
--color-5: #F5F5FF;
--color-bg: #F5F5FF;
--color-surface: #ECECF6;
--color-border: #D3D3E0;
--color-text: #4A477F;
--color-muted: #686882;
--color-primary: #706EB0;
--color-on-primary: #FFFFFF;
--color-accent: #86868F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1E;
--color-surface: #171729;
--color-border: #2B2B41;
--color-text: #F5F5FF;
--color-muted: #8A8A93;
--color-primary: #B8B8FF;
--color-on-primary: #0E0D1E;
--color-accent: #D6D6FF;
--color-on-accent: #0E0D1E;
}
}
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 #B8B8FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8B8FF | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8B8FF | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8B8FF | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.82:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.71:1 | AAA pass 4.5:1 | |
| Text on surface | 16.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.60:1 | AA pass 4.5:1 | |
| Label on primary | 10.35:1 | AAA pass 4.5:1 | |
| Label on accent | 13.63:1 | AAA pass 4.5:1 | |
| Primary on background | 10.35:1 | AAA pass 3:1 | |
| Accent on background | 13.63: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 | #B8B8FF (Text 1) | #C7C7FF (Text 2) | #D6D6FF (Text 3) | #E6E6FF (Text 4) | #F5F5FF (Text 5) |
|---|---|---|---|---|---|
| #B8B8FF | Same color | 1.15— | 1.32— | 1.51— | 1.71— |
| #C7C7FF | 1.15— | Same color | 1.14— | 1.31— | 1.49— |
| #D6D6FF | 1.32— | 1.14— | Same color | 1.15— | 1.30— |
| #E6E6FF | 1.51— | 1.31— | 1.15— | Same color | 1.13— |
| #F5F5FF | 1.71— | 1.49— | 1.30— | 1.13— | Same color |
Shades
Shades and tints (50–950)
