PreviewingGo to this paletteOpen in generator
Code
/* Supernova — colorset.net */
:root {
--color-1: #1A0E26;
--color-2: #FF8A3D;
--color-3: #D45CFF;
--color-4: #3A2450;
--color-5: #FBF0FF;
--color-bg: #FBF0FF;
--color-surface: #FEFAFF;
--color-border: #E3D6E8;
--color-text: #1A0E26;
--color-muted: #6E637B;
--color-primary: #CD55F8;
--color-on-primary: #1A0E26;
--color-accent: #DF6D15;
--color-on-accent: #1A0E26;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0E26;
--color-surface: #251831;
--color-border: #392F44;
--color-text: #FBF0FF;
--color-muted: #938996;
--color-primary: #D45CFF;
--color-on-primary: #1A0E26;
--color-accent: #FF8A3D;
--color-on-accent: #1A0E26;
}
}
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 #D45CFF | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8A3D | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.75:1 | AAA pass 4.5:1 | |
| Text on surface | 17.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.00:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.75:1 | AAA pass 4.5:1 | |
| Text on surface | 15.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.52:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 7.89:1 | AAA pass 4.5:1 | |
| Primary on background | 5.97:1 | AA pass 3:1 | |
| Accent on background | 7.89: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 | #1A0E26 (Text 1) | #FF8A3D (Text 2) | #D45CFF (Text 3) | #3A2450 (Text 4) | #FBF0FF (Text 5) |
|---|---|---|---|---|---|
| #1A0E26 | Same color | 7.89AAA | 5.97AA | 1.36— | 16.75AAA |
| #FF8A3D | 7.89AAA | Same color | 1.32— | 5.78AA | 2.12— |
| #D45CFF | 5.97AA | 1.32— | Same color | 4.38AA Large | 2.81— |
| #3A2450 | 1.36— | 5.78AA | 4.38AA Large | Same color | 12.28AAA |
| #FBF0FF | 16.75AAA | 2.12— | 2.81— | 12.28AAA | Same color |
Shades
Shades and tints (50–950)
