PreviewingGo to this paletteOpen in generator
Code
/* Night Plaza — colorset.net */
:root {
--color-1: #241838;
--color-2: #F28FBF;
--color-3: #8BD3E6;
--color-4: #45325E;
--color-5: #F8EEF8;
--color-bg: #F8EEF8;
--color-surface: #FDF7FD;
--color-border: #E1D4E1;
--color-text: #241838;
--color-muted: #706881;
--color-primary: #C96A99;
--color-on-primary: #241838;
--color-accent: #45325E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241838;
--color-surface: #2F2344;
--color-border: #433C53;
--color-text: #F8EEF8;
--color-muted: #978E97;
--color-primary: #F28FBF;
--color-on-primary: #241838;
--color-accent: #7A6D94;
--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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F28FBF | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #45325E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 15.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 11.22:1 | AAA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 9.93:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 12.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 7.49:1 | AAA pass 4.5:1 | |
| Label on accent | 4.73:1 | AA pass 4.5:1 | |
| Primary on background | 7.49:1 | AAA pass 3:1 | |
| Accent on background | 3.52: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 | #241838 (Text 1) | #F28FBF (Text 2) | #8BD3E6 (Text 3) | #45325E (Text 4) | #F8EEF8 (Text 5) |
|---|---|---|---|---|---|
| #241838 | Same color | 7.49AAA | 9.94AAA | 1.48— | 14.71AAA |
| #F28FBF | 7.49AAA | Same color | 1.33— | 5.05AA | 1.96— |
| #8BD3E6 | 9.94AAA | 1.33— | Same color | 6.71AA | 1.48— |
| #45325E | 1.48— | 5.05AA | 6.71AA | Same color | 9.93AAA |
| #F8EEF8 | 14.71AAA | 1.96— | 1.48— | 9.93AAA | Same color |
Shades
Shades and tints (50–950)
