In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Violet Laser — colorset.net */
:root {
--color-1: #8A2BE2;
--color-2: #9A3BF2;
--color-3: #AA4BFF;
--color-4: #BA5BFF;
--color-5: #CA6BFF;
--color-bg: #FAF4FF;
--color-surface: #F2EAF8;
--color-border: #DAD1E1;
--color-text: #5A447A;
--color-muted: #706780;
--color-primary: #9A3BF2;
--color-on-primary: #FFFFFF;
--color-accent: #6400A7;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #B19FBE;
--color-muted: #8C7E96;
--color-primary: #9A3BF2;
--color-on-primary: #FFFFFF;
--color-accent: #CA6BFF;
--color-on-accent: #120B1C;
}
}
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 #CA6BFF | für Kontrast angepasst · aus #8A2BE2 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8A2BE2 | für Kontrast angepasst · aus #CA6BFF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #8A2BE2 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,65:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,04:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,94:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,00:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,54:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,26:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,86:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,23:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,08:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,47:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,93:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,47:1 | AA 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 | #8A2BE2 (Text 1) | #9A3BF2 (Text 2) | #AA4BFF (Text 3) | #BA5BFF (Text 4) | #CA6BFF (Text 5) |
|---|---|---|---|---|---|
| #8A2BE2 | Gleiche Farbe | 1,21— | 1,46— | 1,71— | 2,00— |
| #9A3BF2 | 1,21— | Gleiche Farbe | 1,21— | 1,41— | 1,65— |
| #AA4BFF | 1,46— | 1,21— | Gleiche Farbe | 1,17— | 1,37— |
| #BA5BFF | 1,71— | 1,41— | 1,17— | Gleiche Farbe | 1,17— |
| #CA6BFF | 2,00— | 1,65— | 1,37— | 1,17— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
