In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Lilac Purple — colorset.net */
:root {
--color-1: #C7C9D3;
--color-2: #B8BDD9;
--color-3: #A8B2DF;
--color-4: #9BA7E5;
--color-5: #8E9CEB;
--color-bg: #F6F6FA;
--color-surface: #EDEDF0;
--color-border: #D3D4DB;
--color-text: #434B82;
--color-muted: #656B84;
--color-primary: #6571BC;
--color-on-primary: #FFFFFF;
--color-accent: #868891;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0E1E;
--color-surface: #15182A;
--color-border: #282C42;
--color-text: #C7C9D3;
--color-muted: #80828B;
--color-primary: #8E9CEB;
--color-on-primary: #0B0E1E;
--color-accent: #A8B2DF;
--color-on-accent: #0B0E1E;
}
}
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 #C7C9D3 | für Kontrast angepasst · aus #8E9CEB |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8E9CEB | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #8E9CEB | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #8E9CEB | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,59:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,00:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,88:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,52:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,94:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,20:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,28:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 11,61:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 10,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 | 7,40:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,22:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 7,40:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,22: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 | #C7C9D3 (Text 1) | #B8BDD9 (Text 2) | #A8B2DF (Text 3) | #9BA7E5 (Text 4) | #8E9CEB (Text 5) |
|---|---|---|---|---|---|
| #C7C9D3 | Gleiche Farbe | 1,12— | 1,26— | 1,41— | 1,57— |
| #B8BDD9 | 1,12— | Gleiche Farbe | 1,12— | 1,25— | 1,40— |
| #A8B2DF | 1,26— | 1,12— | Gleiche Farbe | 1,12— | 1,25— |
| #9BA7E5 | 1,41— | 1,25— | 1,12— | Gleiche Farbe | 1,12— |
| #8E9CEB | 1,57— | 1,40— | 1,25— | 1,12— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
