PreviewingGo to this paletteOpen in generator
Code
/* Neon Purple — colorset.net */
:root {
--color-1: #4000FF;
--color-2: #5A1AFF;
--color-3: #7433FF;
--color-4: #8E4DFF;
--color-5: #A866FF;
--color-bg: #F8F5FF;
--color-surface: #EFEBF9;
--color-border: #D7D1E3;
--color-text: #3F497F;
--color-muted: #636982;
--color-primary: #4000FF;
--color-on-primary: #FFFFFF;
--color-accent: #934FE7;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0E1F;
--color-surface: #14182A;
--color-border: #272C42;
--color-text: #AB9FC1;
--color-muted: #877F99;
--color-primary: #4A47FF;
--color-on-primary: #FFFFFF;
--color-accent: #A866FF;
--color-on-accent: #0B0E1F;
}
}
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 #A866FF | adjusted for contrast · from #4000FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5A1AFF | adjusted for contrast · from #A866FF |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #5A1AFF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8E4DFF | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 7.89:1 | AAA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 7.32:1 | AAA pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.77:1 | AA pass 4.5:1 | |
| Label on accent | 5.48:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 5.48:1 | AA 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 | #4000FF (Text 1) | #5A1AFF (Text 2) | #7433FF (Text 3) | #8E4DFF (Text 4) | #A866FF (Text 5) |
|---|---|---|---|---|---|
| #4000FF | Same color | 1.14— | 1.37— | 1.75— | 2.26— |
| #5A1AFF | 1.14— | Same color | 1.21— | 1.54— | 1.99— |
| #7433FF | 1.37— | 1.21— | Same color | 1.27— | 1.64— |
| #8E4DFF | 1.75— | 1.54— | 1.27— | Same color | 1.29— |
| #A866FF | 2.26— | 1.99— | 1.64— | 1.29— | Same color |
Shades
Shades and tints (50–950)
