In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Lilac Haze — colorset.net */
:root {
--color-1: #CC99FF;
--color-2: #DDAAFF;
--color-3: #EEBBFF;
--color-4: #FFCCFF;
--color-5: #FFDDFF;
--color-bg: #FDF3FD;
--color-surface: #F4EAF4;
--color-border: #DDD0DD;
--color-text: #5C4176;
--color-muted: #71667E;
--color-primary: #915EBF;
--color-on-primary: #FFFFFF;
--color-accent: #9B7C9B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1B;
--color-surface: #1D1526;
--color-border: #33293E;
--color-text: #FCDFFC;
--color-muted: #927C92;
--color-primary: #CC99FF;
--color-on-primary: #130B1B;
--color-accent: #EEBBFF;
--color-on-accent: #130B1B;
}
}
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 #FFDDFF | für Kontrast angepasst · aus #CC99FF |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #CC99FF | für Kontrast angepasst · aus #FFDDFF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #CC99FF | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #CC99FF | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,85:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,25:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,97:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,61:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,75:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,26:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,38:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,67:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,40:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 8,77:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,08:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,77:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,08: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 | #CC99FF (Text 1) | #DDAAFF (Text 2) | #EEBBFF (Text 3) | #FFCCFF (Text 4) | #FFDDFF (Text 5) |
|---|---|---|---|---|---|
| #CC99FF | Gleiche Farbe | 1,18— | 1,38— | 1,60— | 1,78— |
| #DDAAFF | 1,18— | Gleiche Farbe | 1,17— | 1,36— | 1,51— |
| #EEBBFF | 1,38— | 1,17— | Gleiche Farbe | 1,16— | 1,29— |
| #FFCCFF | 1,60— | 1,36— | 1,16— | Gleiche Farbe | 1,11— |
| #FFDDFF | 1,78— | 1,51— | 1,29— | 1,11— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
