PreviewingGo to this paletteOpen in generator
Code
/* Event Horizon — colorset.net */
:root {
--color-1: #0A0A12;
--color-2: #F2A541;
--color-3: #6C5CE7;
--color-4: #20203A;
--color-5: #EDEAF5;
--color-bg: #EDEAF5;
--color-surface: #F4F2F9;
--color-border: #D5D1DF;
--color-text: #0A0A12;
--color-muted: #5D5D68;
--color-primary: #6C5CE7;
--color-on-primary: #FFFFFF;
--color-accent: #A56800;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0A12;
--color-surface: #14141C;
--color-border: #272733;
--color-text: #EDEAF5;
--color-muted: #84818B;
--color-primary: #6C5CE7;
--color-on-primary: #FFFFFF;
--color-accent: #F2A541;
--color-on-accent: #0A0A12;
}
}
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 | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2A541 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.61:1 | AAA pass 4.5:1 | |
| Text on surface | 17.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 4.86:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 3.86:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.61:1 | AAA pass 4.5:1 | |
| Text on surface | 15.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.16:1 | AA pass 4.5:1 | |
| Label on primary | 4.86:1 | AA pass 4.5:1 | |
| Label on accent | 9.61:1 | AAA pass 4.5:1 | |
| Primary on background | 4.06:1 | AA Large pass 3:1 | |
| Accent on background | 9.61: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 | #0A0A12 (Text 1) | #F2A541 (Text 2) | #6C5CE7 (Text 3) | #20203A (Text 4) | #EDEAF5 (Text 5) |
|---|---|---|---|---|---|
| #0A0A12 | Same color | 9.61AAA | 4.06AA Large | 1.25— | 16.61AAA |
| #F2A541 | 9.61AAA | Same color | 2.37— | 7.70AAA | 1.73— |
| #6C5CE7 | 4.06AA Large | 2.37— | Same color | 3.25AA Large | 4.09AA Large |
| #20203A | 1.25— | 7.70AAA | 3.25AA Large | Same color | 13.31AAA |
| #EDEAF5 | 16.61AAA | 1.73— | 4.09AA Large | 13.31AAA | Same color |
Shades
Shades and tints (50–950)
