In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Amethyst Scepter — colorset.net */
:root {
--color-1: #4B0082;
--color-2: #6A0DAD;
--color-3: #9966CC;
--color-4: #9B59B6;
--color-5: #C39BD3;
--color-bg: #FCF3FF;
--color-surface: #F3EAF7;
--color-border: #DCD0E0;
--color-text: #402A5E;
--color-muted: #6F667E;
--color-primary: #6A0DAD;
--color-on-primary: #FFFFFF;
--color-accent: #8E689D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #B9A3C2;
--color-muted: #8E7D95;
--color-primary: #8A3ED2;
--color-on-primary: #FFFFFF;
--color-accent: #905DC2;
--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 #C39BD3 | 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 #C39BD3 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #9B59B6 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #9B59B6 | für Kontrast angepasst · aus #9B59B6 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 11,34:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 10,48:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 9,24:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,55:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,53:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,20:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,33:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,66:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,68:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,64:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,39:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,16: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) | #6A0DAD (Text 2) | #9966CC (Text 3) | #9B59B6 (Text 4) | #C39BD3 (Text 5) |
|---|---|---|---|---|---|
| #4B0082 | Gleiche Farbe | 1,40— | 3,16AA groß | 2,77— | 5,52AA |
| #6A0DAD | 1,40— | Gleiche Farbe | 2,25— | 1,98— | 3,94AA groß |
| #9966CC | 3,16AA groß | 2,25— | Gleiche Farbe | 1,14— | 1,75— |
| #9B59B6 | 2,77— | 1,98— | 1,14— | Gleiche Farbe | 1,99— |
| #C39BD3 | 5,52AA | 3,94AA groß | 1,75— | 1,99— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
