PreviewingGo to this paletteOpen in generator
Code
/* Toxic Alley — colorset.net */
:root {
--color-1: #0D110D;
--color-2: #7CFF4F;
--color-3: #C04BFF;
--color-4: #1F2A1F;
--color-5: #E9F5E6;
--color-bg: #E9F5E6;
--color-surface: #F3FBF2;
--color-border: #CFDDCB;
--color-text: #0D110D;
--color-muted: #606560;
--color-primary: #B037ED;
--color-on-primary: #FFFFFF;
--color-accent: #3AA000;
--color-on-accent: #0D110D;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D110D;
--color-surface: #171B17;
--color-border: #2A302A;
--color-text: #E9F5E6;
--color-muted: #818C7E;
--color-primary: #B037ED;
--color-on-primary: #FFFFFF;
--color-accent: #7CFF4F;
--color-on-accent: #0D110D;
}
}
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 #C04BFF | adjusted for contrast · from #C04BFF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7CFF4F | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.92:1 | AAA pass 4.5:1 | |
| Text on surface | 18.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.92:1 | AAA pass 4.5:1 | |
| Text on surface | 15.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.43:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 14.75:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 14.75: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 | #0D110D (Text 1) | #7CFF4F (Text 2) | #C04BFF (Text 3) | #1F2A1F (Text 4) | #E9F5E6 (Text 5) |
|---|---|---|---|---|---|
| #0D110D | Same color | 14.75AAA | 5.16AA | 1.28— | 16.92AAA |
| #7CFF4F | 14.75AAA | Same color | 2.86— | 11.55AAA | 1.15— |
| #C04BFF | 5.16AA | 2.86— | Same color | 4.04AA Large | 3.28AA Large |
| #1F2A1F | 1.28— | 11.55AAA | 4.04AA Large | Same color | 13.25AAA |
| #E9F5E6 | 16.92AAA | 1.15— | 3.28AA Large | 13.25AAA | Same color |
Shades
Shades and tints (50–950)
