In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Plum Twilight — colorset.net */
:root {
--color-1: #4B0082;
--color-2: #663399;
--color-3: #8B008B;
--color-4: #BA55D3;
--color-5: #DDA0DD;
--color-bg: #FEF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #402A5E;
--color-muted: #6F667E;
--color-primary: #AD48C6;
--color-on-primary: #FFFFFF;
--color-accent: #4B0082;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #CAAECA;
--color-muted: #8F7A8F;
--color-primary: #AD48C6;
--color-on-primary: #FFFFFF;
--color-accent: #8049C0;
--color-on-accent: #FFFFFF;
}
}
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 #DDA0DD | für Kontrast angepasst · aus #4B0082 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #4B0082 | für Kontrast angepasst · aus #DDA0DD |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #BA55D3 | für Kontrast angepasst · aus #BA55D3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #663399 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 11,31:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 10,44:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,99:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,65:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,95:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,28:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,93:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 9,56:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 8,79:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,91:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,65:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,78:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,14:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,33:1 | AA groß 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 | #4B0082 (Text 1) | #663399 (Text 2) | #8B008B (Text 3) | #BA55D3 (Text 4) | #DDA0DD (Text 5) |
|---|---|---|---|---|---|
| #4B0082 | Gleiche Farbe | 1,54— | 1,52— | 3,29AA groß | 6,26AA |
| #663399 | 1,54— | Gleiche Farbe | 1,01— | 2,13— | 4,06AA groß |
| #8B008B | 1,52— | 1,01— | Gleiche Farbe | 2,16— | 4,11AA groß |
| #BA55D3 | 3,29AA groß | 2,13— | 2,16— | Gleiche Farbe | 1,90— |
| #DDA0DD | 6,26AA | 4,06AA groß | 4,11AA groß | 1,90— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
