In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Starlight — colorset.net */
:root {
--color-1: #F3F2FA;
--color-2: #3B3B98;
--color-3: #E8A23B;
--color-4: #D4D3EA;
--color-5: #15142B;
--color-bg: #F3F2FA;
--color-surface: #FAFAFF;
--color-border: #DAD9E4;
--color-text: #15142B;
--color-muted: #676781;
--color-primary: #3B3B98;
--color-on-primary: #FFFFFF;
--color-accent: #BF7D00;
--color-on-accent: #15142B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #15142B;
--color-surface: #1F1F37;
--color-border: #34344B;
--color-text: #F3F2FA;
--color-muted: #8E8D94;
--color-primary: #5C62C3;
--color-on-primary: #FFFFFF;
--color-accent: #E8A23B;
--color-on-accent: #15142B;
}
}
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 | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #3B3B98 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #E8A23B | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,19:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,30:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,93:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 9,27:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,27:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,34:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,07:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,19:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,43:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,47:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,26:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,28:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,42:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,28: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 | #F3F2FA (Text 1) | #3B3B98 (Text 2) | #E8A23B (Text 3) | #D4D3EA (Text 4) | #15142B (Text 5) |
|---|---|---|---|---|---|
| #F3F2FA | Gleiche Farbe | 8,34AAA | 1,96— | 1,32— | 16,19AAA |
| #3B3B98 | 8,34AAA | Gleiche Farbe | 4,27AA groß | 6,32AA | 1,94— |
| #E8A23B | 1,96— | 4,27AA groß | Gleiche Farbe | 1,48— | 8,28AAA |
| #D4D3EA | 1,32— | 6,32AA | 1,48— | Gleiche Farbe | 12,26AAA |
| #15142B | 16,19AAA | 1,94— | 8,28AAA | 12,26AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
