In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Lilac Soft — colorset.net */
:root {
--color-1: #C8A2C8;
--color-2: #D4B4D4;
--color-3: #E0C6E0;
--color-4: #ECD8EC;
--color-5: #F8EAF8;
--color-bg: #F8EAF8;
--color-surface: #FCF3FC;
--color-border: #E1D0E1;
--color-text: #634263;
--color-muted: #786478;
--color-primary: #A27DA2;
--color-on-primary: #000000;
--color-accent: #6C4F6C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160B16;
--color-surface: #201520;
--color-border: #362837;
--color-text: #F8EAF8;
--color-muted: #8F838F;
--color-primary: #C8A2C8;
--color-on-primary: #160B16;
--color-accent: #E0C6E0;
--color-on-accent: #160B16;
}
}
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 5 | für Kontrast angepasst · aus #C8A2C8 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #C8A2C8 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #C8A2C8 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #C8A2C8 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,28:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,78:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,65:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,99:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,06:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,02:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,09:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,57:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,23:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,31:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 8,65:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,18:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,65:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,18: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 | #C8A2C8 (Text 1) | #D4B4D4 (Text 2) | #E0C6E0 (Text 3) | #ECD8EC (Text 4) | #F8EAF8 (Text 5) |
|---|---|---|---|---|---|
| #C8A2C8 | Gleiche Farbe | 1,19— | 1,41— | 1,65— | 1,92— |
| #D4B4D4 | 1,19— | Gleiche Farbe | 1,18— | 1,38— | 1,61— |
| #E0C6E0 | 1,41— | 1,18— | Gleiche Farbe | 1,17— | 1,36— |
| #ECD8EC | 1,65— | 1,38— | 1,17— | Gleiche Farbe | 1,16— |
| #F8EAF8 | 1,92— | 1,61— | 1,36— | 1,16— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
