PreviewingGo to this paletteOpen in generator
Code
/* Synthwave Night — colorset.net */
:root {
--color-1: #F72585;
--color-2: #4895EF;
--color-3: #4CC9F0;
--color-4: #7209B7;
--color-5: #A663CC;
--color-bg: #EBFAFF;
--color-surface: #E0F1F7;
--color-border: #C4D9E1;
--color-text: #5D447A;
--color-muted: #716780;
--color-primary: #E30076;
--color-on-primary: #FFFFFF;
--color-accent: #0095B9;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1C;
--color-surface: #1D1527;
--color-border: #32293E;
--color-text: #96C0D0;
--color-muted: #688893;
--color-primary: #E30076;
--color-on-primary: #FFFFFF;
--color-accent: #4CC9F0;
--color-on-accent: #130B1C;
}
}
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 #4CC9F0 | adjusted for contrast · from #7209B7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7209B7 | adjusted for contrast · from #4CC9F0 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F72585 | adjusted for contrast · from #F72585 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4895EF | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.84:1 | AAA pass 4.5:1 | |
| Text on surface | 9.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 10.00:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 10.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 | #F72585 (Text 1) | #4895EF (Text 2) | #4CC9F0 (Text 3) | #7209B7 (Text 4) | #A663CC (Text 5) |
|---|---|---|---|---|---|
| #F72585 | Same color | 1.23— | 1.96— | 2.28— | 1.05— |
| #4895EF | 1.23— | Same color | 1.60— | 2.80— | 1.29— |
| #4CC9F0 | 1.96— | 1.60— | Same color | 4.48AA Large | 2.07— |
| #7209B7 | 2.28— | 2.80— | 4.48AA Large | Same color | 2.16— |
| #A663CC | 1.05— | 1.29— | 2.07— | 2.16— | Same color |
Shades
Shades and tints (50–950)
