PreviewingGo to this paletteOpen in generator
Code
/* Neon Horizon — colorset.net */
:root {
--color-1: #140F2D;
--color-2: #FF3E9A;
--color-3: #2DE2E6;
--color-4: #3B2A6B;
--color-5: #F4ECFF;
--color-bg: #F4ECFF;
--color-surface: #F9F5FF;
--color-border: #DCD3E9;
--color-text: #140F2D;
--color-muted: #65647D;
--color-primary: #E21382;
--color-on-primary: #FFFFFF;
--color-accent: #008285;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F2D;
--color-surface: #1E1A39;
--color-border: #333148;
--color-text: #F4ECFF;
--color-muted: #8E8798;
--color-primary: #FF3E9A;
--color-on-primary: #140F2D;
--color-accent: #2DE2E6;
--color-on-accent: #140F2D;
}
}
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 #FF3E9A | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3B2A6B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.10:1 | AAA pass 4.5:1 | |
| Text on surface | 17.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 4.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.10:1 | AAA pass 4.5:1 | |
| Text on surface | 14.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 5.64:1 | AA pass 4.5:1 | |
| Label on accent | 11.56:1 | AAA pass 4.5:1 | |
| Primary on background | 5.64:1 | AA pass 3:1 | |
| Accent on background | 11.56: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 | #140F2D (Text 1) | #FF3E9A (Text 2) | #2DE2E6 (Text 3) | #3B2A6B (Text 4) | #F4ECFF (Text 5) |
|---|---|---|---|---|---|
| #140F2D | Same color | 5.64AA | 11.56AAA | 1.52— | 16.10AAA |
| #FF3E9A | 5.64AA | Same color | 2.05— | 3.71AA Large | 2.85— |
| #2DE2E6 | 11.56AAA | 2.05— | Same color | 7.59AAA | 1.39— |
| #3B2A6B | 1.52— | 3.71AA Large | 7.59AAA | Same color | 10.57AAA |
| #F4ECFF | 16.10AAA | 2.85— | 1.39— | 10.57AAA | Same color |
Shades
Shades and tints (50–950)
