In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Moonlit Periwinkle — colorset.net */
:root {
--color-1: #8C92AC;
--color-2: #A1A7C4;
--color-3: #B6BCDC;
--color-4: #CBD1F4;
--color-5: #E0E6FF;
--color-bg: #F4F6FE;
--color-surface: #EBEDF5;
--color-border: #D2D4DF;
--color-text: #484D64;
--color-muted: #646982;
--color-primary: #8086A0;
--color-on-primary: #000000;
--color-accent: #51556A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0F16;
--color-surface: #171921;
--color-border: #2B2D38;
--color-text: #E0E6FF;
--color-muted: #7D8298;
--color-primary: #8C92AC;
--color-on-primary: #0D0F16;
--color-accent: #CBD1F4;
--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 | für Kontrast angepasst · aus #E0E6FF | für Kontrast angepasst · aus #8C92AC |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8C92AC | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #8C92AC | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #8C92AC | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,72:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,13:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,01:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,84:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,35:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,33:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,81:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,43:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,14: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,22:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,73:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,22:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,73: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 | #8C92AC (Text 1) | #A1A7C4 (Text 2) | #B6BCDC (Text 3) | #CBD1F4 (Text 4) | #E0E6FF (Text 5) |
|---|---|---|---|---|---|
| #8C92AC | Gleiche Farbe | 1,30— | 1,64— | 2,05— | 2,48— |
| #A1A7C4 | 1,30— | Gleiche Farbe | 1,27— | 1,58— | 1,92— |
| #B6BCDC | 1,64— | 1,27— | Gleiche Farbe | 1,25— | 1,51— |
| #CBD1F4 | 2,05— | 1,58— | 1,25— | Gleiche Farbe | 1,21— |
| #E0E6FF | 2,48— | 1,92— | 1,51— | 1,21— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
