PreviewingGo to this paletteOpen in generator
Code
/* Neon Lint — colorset.net */
:root {
--color-1: #0C0E14;
--color-2: #E4FF5A;
--color-3: #8A7CFF;
--color-4: #20242E;
--color-5: #ECEEF4;
--color-bg: #F5F9EA;
--color-surface: #ECF0E1;
--color-border: #D3D7C5;
--color-text: #0C0E14;
--color-muted: #62646C;
--color-primary: #7363E3;
--color-on-primary: #FFFFFF;
--color-accent: #6E7E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0E14;
--color-surface: #16181E;
--color-border: #292C36;
--color-text: #EBF4CE;
--color-muted: #848A6F;
--color-primary: #8A7CFF;
--color-on-primary: #0C0E14;
--color-accent: #E4FF5A;
--color-on-accent: #0C0E14;
}
}
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 #ECEEF4 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #ECEEF4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8A7CFF | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8A7CFF | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.02:1 | AAA pass 4.5:1 | |
| Text on surface | 16.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.87:1 | AAA pass 4.5:1 | |
| Text on surface | 15.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 5.89:1 | AA pass 4.5:1 | |
| Label on accent | 17.23:1 | AAA pass 4.5:1 | |
| Primary on background | 5.89:1 | AA pass 3:1 | |
| Accent on background | 17.23: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 | #0C0E14 (Text 1) | #E4FF5A (Text 2) | #8A7CFF (Text 3) | #20242E (Text 4) | #ECEEF4 (Text 5) |
|---|---|---|---|---|---|
| #0C0E14 | Same color | 17.23AAA | 5.89AA | 1.24— | 16.63AAA |
| #E4FF5A | 17.23AAA | Same color | 2.93— | 13.86AAA | 1.04— |
| #8A7CFF | 5.89AA | 2.93— | Same color | 4.74AA | 2.83— |
| #20242E | 1.24— | 13.86AAA | 4.74AA | Same color | 13.38AAA |
| #ECEEF4 | 16.63AAA | 1.04— | 2.83— | 13.38AAA | Same color |
Shades
Shades and tints (50–950)
