PreviewingGo to this paletteOpen in generator
Code
/* Void Raider — colorset.net */
:root {
--color-1: #110A22;
--color-2: #A76EF8;
--color-3: #4DEBC9;
--color-4: #37275B;
--color-5: #F0ECFA;
--color-bg: #F0ECFA;
--color-surface: #F7F4FD;
--color-border: #D8D3E4;
--color-text: #110A22;
--color-muted: #635E78;
--color-primary: #A46BF5;
--color-on-primary: #110A22;
--color-accent: #00856E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110A22;
--color-surface: #1B142D;
--color-border: #2F2A40;
--color-text: #F0ECFA;
--color-muted: #888591;
--color-primary: #A76EF8;
--color-on-primary: #110A22;
--color-accent: #4DEBC9;
--color-on-accent: #110A22;
}
}
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 #A76EF8 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #37275B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.59:1 | AAA pass 4.5:1 | |
| Text on surface | 17.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 5.50:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.95:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.59:1 | AAA pass 4.5:1 | |
| Text on surface | 15.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 5.71:1 | AA pass 4.5:1 | |
| Label on accent | 12.88:1 | AAA pass 4.5:1 | |
| Primary on background | 5.71:1 | AA pass 3:1 | |
| Accent on background | 12.88: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 | #110A22 (Text 1) | #A76EF8 (Text 2) | #4DEBC9 (Text 3) | #37275B (Text 4) | #F0ECFA (Text 5) |
|---|---|---|---|---|---|
| #110A22 | Same color | 5.71AA | 12.88AAA | 1.47— | 16.59AAA |
| #A76EF8 | 5.71AA | Same color | 2.25— | 3.88AA Large | 2.90— |
| #4DEBC9 | 12.88AAA | 2.25— | Same color | 8.76AAA | 1.29— |
| #37275B | 1.47— | 3.88AA Large | 8.76AAA | Same color | 11.28AAA |
| #F0ECFA | 16.59AAA | 2.90— | 1.29— | 11.28AAA | Same color |
Shades
Shades and tints (50–950)
