In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Purple Electric — colorset.net */
:root {
--color-1: #A569BD;
--color-2: #8E44AD;
--color-3: #7D3C98;
--color-4: #6C3483;
--color-5: #5B2C6F;
--color-bg: #FBF3FF;
--color-surface: #F3EAF7;
--color-border: #DBD0E0;
--color-text: #563465;
--color-muted: #76667D;
--color-primary: #8E44AD;
--color-on-primary: #FFFFFF;
--color-accent: #6C3483;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150A1A;
--color-surface: #1F1425;
--color-border: #35283C;
--color-text: #B39EBD;
--color-muted: #8E7D95;
--color-primary: #8E44AD;
--color-on-primary: #FFFFFF;
--color-accent: #995DB0;
--color-on-accent: #FFFFFF;
}
}
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 #A569BD | für Kontrast angepasst · aus #5B2C6F |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #5B2C6F | für Kontrast angepasst · aus #A569BD |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #A569BD |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 9,33:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 8,64:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,88:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,87:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,55:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,41:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,88:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,84:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,21:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,87:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,62:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,28:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,17:1 | AA groß 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 | #A569BD (Text 1) | #8E44AD (Text 2) | #7D3C98 (Text 3) | #6C3483 (Text 4) | #5B2C6F (Text 5) |
|---|---|---|---|---|---|
| #A569BD | Gleiche Farbe | 1,50— | 1,80— | 2,18— | 2,63— |
| #8E44AD | 1,50— | Gleiche Farbe | 1,20— | 1,46— | 1,76— |
| #7D3C98 | 1,80— | 1,20— | Gleiche Farbe | 1,21— | 1,46— |
| #6C3483 | 2,18— | 1,46— | 1,21— | Gleiche Farbe | 1,21— |
| #5B2C6F | 2,63— | 1,76— | 1,46— | 1,21— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
