In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Light Purple — colorset.net */
:root {
--color-1: #9370DB;
--color-2: #A380E5;
--color-3: #B390EF;
--color-4: #C3A0F9;
--color-5: #D3B0FF;
--color-bg: #F9F5FF;
--color-surface: #F0EAF9;
--color-border: #D8D1E3;
--color-text: #54437A;
--color-muted: #6D6680;
--color-primary: #8461CA;
--color-on-primary: #FFFFFF;
--color-accent: #523488;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110C1D;
--color-surface: #1B1628;
--color-border: #302A40;
--color-text: #CABBDE;
--color-muted: #8A7F98;
--color-primary: #8461CA;
--color-on-primary: #FFFFFF;
--color-accent: #D3B0FF;
--color-on-accent: #110C1D;
}
}
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 #D3B0FF | für Kontrast angepasst · aus #9370DB |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #9370DB | für Kontrast angepasst · aus #D3B0FF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #9370DB | für Kontrast angepasst · aus #9370DB |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #9370DB | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,94:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,25:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,62:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,52:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,30:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,86:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 10,67:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 9,79:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,09:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,62:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,44:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,15:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,44: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 | #9370DB (Text 1) | #A380E5 (Text 2) | #B390EF (Text 3) | #C3A0F9 (Text 4) | #D3B0FF (Text 5) |
|---|---|---|---|---|---|
| #9370DB | Gleiche Farbe | 1,21— | 1,46— | 1,74— | 2,05— |
| #A380E5 | 1,21— | Gleiche Farbe | 1,20— | 1,43— | 1,69— |
| #B390EF | 1,46— | 1,20— | Gleiche Farbe | 1,19— | 1,40— |
| #C3A0F9 | 1,74— | 1,43— | 1,19— | Gleiche Farbe | 1,18— |
| #D3B0FF | 2,05— | 1,69— | 1,40— | 1,18— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
