In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Periwinkle Lavender — colorset.net */
:root {
--color-1: #C3CDE6;
--color-2: #D0D9FF;
--color-3: #DDE3FF;
--color-4: #E6EBFF;
--color-5: #F0F5FF;
--color-bg: #F0F5FF;
--color-surface: #FBFCFF;
--color-border: #D6DCE9;
--color-text: #495267;
--color-muted: #666F85;
--color-primary: #828AAD;
--color-on-primary: #000000;
--color-accent: #535975;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0F16;
--color-surface: #171920;
--color-border: #2A2E38;
--color-text: #F0F5FF;
--color-muted: #868A93;
--color-primary: #D0D9FF;
--color-on-primary: #0D0F16;
--color-accent: #9CA3C2;
--color-on-accent: #0D0F16;
}
}
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 #C3CDE6 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #C3CDE6 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #C3CDE6 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #C3CDE6 | für Kontrast angepasst · aus #C3CDE6 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,15:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,62:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,60:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,19:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,88:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,10:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,29:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,51:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,06:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,53:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 13,72:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,69:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 13,72:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,69: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 | #C3CDE6 (Text 1) | #D0D9FF (Text 2) | #DDE3FF (Text 3) | #E6EBFF (Text 4) | #F0F5FF (Text 5) |
|---|---|---|---|---|---|
| #C3CDE6 | Gleiche Farbe | 1,14— | 1,25— | 1,34— | 1,46— |
| #D0D9FF | 1,14— | Gleiche Farbe | 1,10— | 1,18— | 1,28— |
| #DDE3FF | 1,25— | 1,10— | Gleiche Farbe | 1,07— | 1,16— |
| #E6EBFF | 1,34— | 1,18— | 1,07— | Gleiche Farbe | 1,09— |
| #F0F5FF | 1,46— | 1,28— | 1,16— | 1,09— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
