In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Lavender Field — colorset.net */
:root {
--color-1: #D8BFE0;
--color-2: #E1CEE6;
--color-3: #EADDEC;
--color-4: #F3ECF2;
--color-5: #FCFBF8;
--color-bg: #FCFBF8;
--color-surface: #F3F2EF;
--color-border: #DBD9D2;
--color-text: #5E4864;
--color-muted: #78677D;
--color-primary: #9C84A3;
--color-on-primary: #000000;
--color-accent: #67556D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130C15;
--color-surface: #1E1620;
--color-border: #332A36;
--color-text: #FCFBF8;
--color-muted: #8E8D8B;
--color-primary: #D8BFE0;
--color-on-primary: #130C15;
--color-accent: #EADDEC;
--color-on-accent: #130C15;
}
}
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 #D8BFE0 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #D8BFE0 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #D8BFE0 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #D8BFE0 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,84:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,25:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,03:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,24:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,78:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,25:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,55:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,60:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,04:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,80:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 11,41:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 14,71:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 11,41:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 14,71: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 | #D8BFE0 (Text 1) | #E1CEE6 (Text 2) | #EADDEC (Text 3) | #F3ECF2 (Text 4) | #FCFBF8 (Text 5) |
|---|---|---|---|---|---|
| #D8BFE0 | Gleiche Farbe | 1,14— | 1,29— | 1,45— | 1,63— |
| #E1CEE6 | 1,14— | Gleiche Farbe | 1,13— | 1,28— | 1,43— |
| #EADDEC | 1,29— | 1,13— | Gleiche Farbe | 1,13— | 1,26— |
| #F3ECF2 | 1,45— | 1,28— | 1,13— | Gleiche Farbe | 1,12— |
| #FCFBF8 | 1,63— | 1,43— | 1,26— | 1,12— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
