PreviewingGo to this paletteOpen in generator
Code
/* Purple Storm — colorset.net */
:root {
--color-1: #6600CC;
--color-2: #7700DD;
--color-3: #8800EE;
--color-4: #9900FF;
--color-5: #AA33FF;
--color-bg: #F9F4FF;
--color-surface: #F1EAF9;
--color-border: #D9D1E2;
--color-text: #53457C;
--color-muted: #6C6781;
--color-primary: #9900FF;
--color-on-primary: #FFFFFF;
--color-accent: #6600CC;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100C1D;
--color-surface: #1A1628;
--color-border: #2F2A40;
--color-text: #AD9EBF;
--color-muted: #897D97;
--color-primary: #9900FF;
--color-on-primary: #FFFFFF;
--color-accent: #7E37EC;
--color-on-accent: #FFFFFF;
}
}
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 #AA33FF | adjusted for contrast · from #6600CC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6600CC | adjusted for contrast · from #AA33FF |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #8800EE |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.53:1 | AA pass 4.5:1 | |
| Label on accent | 8.62:1 | AAA pass 4.5:1 | |
| Primary on background | 5.11:1 | AA pass 3:1 | |
| Accent on background | 7.97:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.76:1 | AA pass 4.5:1 | |
| Primary on background | 3.48:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large 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 | #6600CC (Text 1) | #7700DD (Text 2) | #8800EE (Text 3) | #9900FF (Text 4) | #AA33FF (Text 5) |
|---|---|---|---|---|---|
| #6600CC | Same color | 1.16— | 1.35— | 1.56— | 1.90— |
| #7700DD | 1.16— | Same color | 1.16— | 1.34— | 1.64— |
| #8800EE | 1.35— | 1.16— | Same color | 1.16— | 1.41— |
| #9900FF | 1.56— | 1.34— | 1.16— | Same color | 1.22— |
| #AA33FF | 1.90— | 1.64— | 1.41— | 1.22— | Same color |
Shades
Shades and tints (50–950)
