In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Deep Magenta — colorset.net */
:root {
--color-1: #8B008B;
--color-2: #A01AA0;
--color-3: #B533B5;
--color-4: #CA4DCA;
--color-5: #DF66DF;
--color-bg: #FFF2FE;
--color-surface: #F5E9F4;
--color-border: #DECFDD;
--color-text: #6C3E6A;
--color-muted: #7A6578;
--color-primary: #B533B5;
--color-on-primary: #FFFFFF;
--color-accent: #8B008B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #B99DB8;
--color-muted: #927C91;
--color-primary: #B533B5;
--color-on-primary: #FFFFFF;
--color-accent: #DF66DF;
--color-on-accent: #180917;
}
}
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 #DF66DF | für Kontrast angepasst · aus #8B008B |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8B008B | für Kontrast angepasst · aus #DF66DF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 3 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 1 | 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,89:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,12:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,50:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,72:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,85:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,87:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,24: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,12:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,52:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,77:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,52: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 | #8B008B (Text 1) | #A01AA0 (Text 2) | #B533B5 (Text 3) | #CA4DCA (Text 4) | #DF66DF (Text 5) |
|---|---|---|---|---|---|
| #8B008B | Gleiche Farbe | 1,28— | 1,66— | 2,20— | 2,88— |
| #A01AA0 | 1,28— | Gleiche Farbe | 1,30— | 1,72— | 2,26— |
| #B533B5 | 1,66— | 1,30— | Gleiche Farbe | 1,32— | 1,73— |
| #CA4DCA | 2,20— | 1,72— | 1,32— | Gleiche Farbe | 1,31— |
| #DF66DF | 2,88— | 2,26— | 1,73— | 1,31— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
