In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Iridescent Lilac — colorset.net */
:root {
--color-1: #F5F1FC;
--color-2: #9B7BEA;
--color-3: #4FC2AE;
--color-4: #DCD2F2;
--color-5: #241B3A;
--color-bg: #F5F1FC;
--color-surface: #FBF9FF;
--color-border: #DDD8E6;
--color-text: #241B3A;
--color-muted: #706A84;
--color-primary: #9878E7;
--color-on-primary: #241B3A;
--color-accent: #1A9C89;
--color-on-accent: #241B3A;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241B3A;
--color-surface: #2F2646;
--color-border: #443E56;
--color-text: #F5F1FC;
--color-muted: #95919B;
--color-primary: #9B7BEA;
--color-on-primary: #241B3A;
--color-accent: #4FC2AE;
--color-on-accent: #241B3A;
}
}
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 1 | aus der Palette · Farbe 5 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #9B7BEA | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #4FC2AE | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,60:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,54:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,62:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,78:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,76:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,06:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,06:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,60:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,69:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,26:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,96:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,47:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,96:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,47: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 | #F5F1FC (Text 1) | #9B7BEA (Text 2) | #4FC2AE (Text 3) | #DCD2F2 (Text 4) | #241B3A (Text 5) |
|---|---|---|---|---|---|
| #F5F1FC | Gleiche Farbe | 2,94— | 1,95— | 1,30— | 14,60AAA |
| #9B7BEA | 2,94— | Gleiche Farbe | 1,51— | 2,27— | 4,96AA |
| #4FC2AE | 1,95— | 1,51— | Gleiche Farbe | 1,51— | 7,47AAA |
| #DCD2F2 | 1,30— | 2,27— | 1,51— | Gleiche Farbe | 11,25AAA |
| #241B3A | 14,60AAA | 4,96AA | 7,47AAA | 11,25AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
