PreviewingGo to this paletteOpen in generator
Code
/* Multi Electric — colorset.net */
:root {
--color-1: #1A0B3D;
--color-2: #7C3AED;
--color-3: #EC4899;
--color-4: #F59E0B;
--color-5: #10B981;
--color-bg: #FFF5EA;
--color-surface: #F7ECDF;
--color-border: #E0D2C4;
--color-text: #1A0B3D;
--color-muted: #6B6882;
--color-primary: #7C3AED;
--color-on-primary: #FFFFFF;
--color-accent: #A46800;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0C1D;
--color-surface: #191628;
--color-border: #2D2A41;
--color-text: #C9AF92;
--color-muted: #927F69;
--color-primary: #7C3AED;
--color-on-primary: #FFFFFF;
--color-accent: #F59E0B;
--color-on-accent: #0F0C1D;
}
}
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 #F59E0B | adjusted for contrast · from #1A0B3D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #F59E0B |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F59E0B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.82:1 | AAA pass 4.5:1 | |
| Text on surface | 15.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 5.29:1 | AA pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.20:1 | AAA pass 4.5:1 | |
| Text on surface | 8.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 8.97:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 8.97: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 | #1A0B3D (Text 1) | #7C3AED (Text 2) | #EC4899 (Text 3) | #F59E0B (Text 4) | #10B981 (Text 5) |
|---|---|---|---|---|---|
| #1A0B3D | Same color | 3.18AA Large | 5.14AA | 8.44AAA | 7.14AAA |
| #7C3AED | 3.18AA Large | Same color | 1.62— | 2.65— | 2.25— |
| #EC4899 | 5.14AA | 1.62— | Same color | 1.64— | 1.39— |
| #F59E0B | 8.44AAA | 2.65— | 1.64— | Same color | 1.18— |
| #10B981 | 7.14AAA | 2.25— | 1.39— | 1.18— | Same color |
Shades
Shades and tints (50–950)
