In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Violet Spark — colorset.net */
:root {
--color-1: #8A2BE2;
--color-2: #9540E8;
--color-3: #A055EE;
--color-4: #AB6AF4;
--color-5: #B67FFA;
--color-bg: #F8F5FF;
--color-surface: #F0EBF9;
--color-border: #D8D1E3;
--color-text: #5A447A;
--color-muted: #706780;
--color-primary: #8A2BE2;
--color-on-primary: #FFFFFF;
--color-accent: #9159D1;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #AB9EC0;
--color-muted: #887E98;
--color-primary: #8D30E5;
--color-on-primary: #FFFFFF;
--color-accent: #B67FFA;
--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 #B67FFA | 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 #B67FFA |
| 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 #A055EE | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,67:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,06:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,95:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,96:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,61:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,53:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,28:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,69:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,07:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,03:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,70:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,79:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,38:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,79:1 | AA 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) | #9540E8 (Text 2) | #A055EE (Text 3) | #AB6AF4 (Text 4) | #B67FFA (Text 5) |
|---|---|---|---|---|---|
| #8A2BE2 | Gleiche Farbe | 1,19— | 1,43— | 1,73— | 2,10— |
| #9540E8 | 1,19— | Gleiche Farbe | 1,20— | 1,46— | 1,77— |
| #A055EE | 1,43— | 1,20— | Gleiche Farbe | 1,21— | 1,47— |
| #AB6AF4 | 1,73— | 1,46— | 1,21— | Gleiche Farbe | 1,21— |
| #B67FFA | 2,10— | 1,77— | 1,47— | 1,21— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
