In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Violet Lightning — colorset.net */
:root {
--color-1: #2E0854;
--color-2: #4B0082;
--color-3: #5D3FD3;
--color-4: #7F00FF;
--color-5: #9B59B6;
--color-bg: #FBF3FF;
--color-surface: #F3EAF7;
--color-border: #DBD0E0;
--color-text: #2B1547;
--color-muted: #6F6680;
--color-primary: #7F00FF;
--color-on-primary: #FFFFFF;
--color-accent: #4B0082;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120C1C;
--color-surface: #1C1627;
--color-border: #31293F;
--color-text: #B39EBD;
--color-muted: #8E7D95;
--color-primary: #8328FF;
--color-on-primary: #FFFFFF;
--color-accent: #7658A7;
--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 #9B59B6 | für Kontrast angepasst · aus #2E0854 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #2E0854 | für Kontrast angepasst · aus #9B59B6 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #7F00FF |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #9B59B6 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,89:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,78:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,98:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,28:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,95:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,79:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,94:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,80:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,16:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,04:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,66:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,64:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,39:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,40: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 | #2E0854 (Text 1) | #4B0082 (Text 2) | #5D3FD3 (Text 3) | #7F00FF (Text 4) | #9B59B6 (Text 5) |
|---|---|---|---|---|---|
| #2E0854 | Gleiche Farbe | 1,27— | 2,44— | 2,62— | 3,52AA groß |
| #4B0082 | 1,27— | Gleiche Farbe | 1,92— | 2,06— | 2,77— |
| #5D3FD3 | 2,44— | 1,92— | Gleiche Farbe | 1,07— | 1,44— |
| #7F00FF | 2,62— | 2,06— | 1,07— | Gleiche Farbe | 1,34— |
| #9B59B6 | 3,52AA groß | 2,77— | 1,44— | 1,34— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
