In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Electric Mix — colorset.net */
:root {
--color-1: #8A2BE2;
--color-2: #FF6347;
--color-3: #32CD32;
--color-4: #FFD700;
--color-5: #00BFFF;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #5A447A;
--color-muted: #706780;
--color-primary: #8A2BE2;
--color-on-primary: #FFFFFF;
--color-accent: #008808;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #8D30E5;
--color-on-primary: #FFFFFF;
--color-accent: #32CD32;
--color-on-accent: #120B1C;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | für Kontrast angepasst · aus #FFD700 | für Kontrast angepasst · aus #8A2BE2 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8A2BE2 | für Kontrast angepasst · aus #FFD700 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #8A2BE2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #32CD32 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,70:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,09:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,97:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,96:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,64:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,55:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,33:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,75:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,64:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,70:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,09:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,38:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,09:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #8A2BE2 (Text 1) | #FF6347 (Text 2) | #32CD32 (Text 3) | #FFD700 (Text 4) | #00BFFF (Text 5) |
|---|---|---|---|---|---|
| #8A2BE2 | Gleiche Farbe | 2,02— | 2,81— | 4,25AA groß | 2,81— |
| #FF6347 | 2,02— | Gleiche Farbe | 1,39— | 2,10— | 1,39— |
| #32CD32 | 2,81— | 1,39— | Gleiche Farbe | 1,51— | 1,00— |
| #FFD700 | 4,25AA groß | 2,10— | 1,51— | Gleiche Farbe | 1,51— |
| #00BFFF | 2,81— | 1,39— | 1,00— | 1,51— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
