PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Soft — colorset.net */
:root {
--color-1: #CCCCFF;
--color-2: #BFBFFF;
--color-3: #B3B3FF;
--color-4: #A6A6FF;
--color-5: #9999FF;
--color-bg: #F6F6FF;
--color-surface: #ECECFB;
--color-border: #D3D3E5;
--color-text: #48477E;
--color-muted: #676882;
--color-primary: #6E6BCC;
--color-on-primary: #FFFFFF;
--color-accent: #8584B3;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0D1E;
--color-surface: #171729;
--color-border: #2B2B41;
--color-text: #CDCEF2;
--color-muted: #81819B;
--color-primary: #9999FF;
--color-on-primary: #0D0D1E;
--color-accent: #BFBFFF;
--color-on-accent: #0D0D1E;
}
}
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 #CCCCFF | adjusted for contrast · from #9999FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9999FF | adjusted for contrast · from #CCCCFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9999FF | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9999FF | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.54:1 | AAA pass 4.5:1 | |
| Text on surface | 11.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 7.64:1 | AAA pass 4.5:1 | |
| Label on accent | 11.08:1 | AAA pass 4.5:1 | |
| Primary on background | 7.64:1 | AAA pass 3:1 | |
| Accent on background | 11.08: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 | #CCCCFF (Text 1) | #BFBFFF (Text 2) | #B3B3FF (Text 3) | #A6A6FF (Text 4) | #9999FF (Text 5) |
|---|---|---|---|---|---|
| #CCCCFF | Same color | 1.13— | 1.26— | 1.43— | 1.63— |
| #BFBFFF | 1.13— | Same color | 1.12— | 1.27— | 1.45— |
| #B3B3FF | 1.26— | 1.12— | Same color | 1.14— | 1.29— |
| #A6A6FF | 1.43— | 1.27— | 1.14— | Same color | 1.14— |
| #9999FF | 1.63— | 1.45— | 1.29— | 1.14— | Same color |
Shades
Shades and tints (50–950)
