In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Midnight Serum — colorset.net */
:root {
--color-1: #13111C;
--color-2: #C9A7F5;
--color-3: #F4B9A3;
--color-4: #2E2A3D;
--color-5: #F3EFF8;
--color-bg: #F3EFF8;
--color-surface: #F9F7FD;
--color-border: #DBD6E2;
--color-text: #13111C;
--color-muted: #666472;
--color-primary: #9D7CC6;
--color-on-primary: #13111C;
--color-accent: #B57E6A;
--color-on-accent: #13111C;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #13111C;
--color-surface: #1D1B27;
--color-border: #322F3F;
--color-text: #F3EFF8;
--color-muted: #8C8890;
--color-primary: #C9A7F5;
--color-on-primary: #13111C;
--color-accent: #F4B9A3;
--color-on-accent: #13111C;
}
}
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 | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #C9A7F5 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #F4B9A3 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,46:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,56:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,10:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,45:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,47:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,02:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,01:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,46:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,95:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,37:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 9,18:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,95:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 9,18:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,95: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 | #13111C (Text 1) | #C9A7F5 (Text 2) | #F4B9A3 (Text 3) | #2E2A3D (Text 4) | #F3EFF8 (Text 5) |
|---|---|---|---|---|---|
| #13111C | Gleiche Farbe | 9,18AAA | 10,95AAA | 1,35— | 16,46AAA |
| #C9A7F5 | 9,18AAA | Gleiche Farbe | 1,19— | 6,82AA | 1,79— |
| #F4B9A3 | 10,95AAA | 1,19— | Gleiche Farbe | 8,13AAA | 1,50— |
| #2E2A3D | 1,35— | 6,82AA | 8,13AAA | Gleiche Farbe | 12,22AAA |
| #F3EFF8 | 16,46AAA | 1,79— | 1,50— | 12,22AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
