In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Berry Crush — colorset.net */
:root {
--color-1: #8B008B;
--color-2: #A020F0;
--color-3: #BA55D3;
--color-4: #DA70D6;
--color-5: #7A007A;
--color-bg: #FFF2FE;
--color-surface: #F5E9F4;
--color-border: #DFCFDD;
--color-text: #633662;
--color-muted: #786276;
--color-primary: #A020F0;
--color-on-primary: #FFFFFF;
--color-accent: #7A007A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221322;
--color-border: #392738;
--color-text: #B79BB5;
--color-muted: #917B8F;
--color-primary: #A020F0;
--color-on-primary: #FFFFFF;
--color-accent: #A439A2;
--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 #DA70D6 | für Kontrast angepasst · aus #7A007A |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #7A007A | für Kontrast angepasst · aus #DA70D6 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 5 | für Kontrast angepasst · aus #8B008B |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,67:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,99:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,09:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,30:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,96:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,90:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,19:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,68:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,07:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,98:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,30:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,70:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,63:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,38: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 | #8B008B (Text 1) | #A020F0 (Text 2) | #BA55D3 (Text 3) | #DA70D6 (Text 4) | #7A007A (Text 5) |
|---|---|---|---|---|---|
| #8B008B | Gleiche Farbe | 1,60— | 2,16— | 2,94— | 1,17— |
| #A020F0 | 1,60— | Gleiche Farbe | 1,35— | 1,84— | 1,88— |
| #BA55D3 | 2,16— | 1,35— | Gleiche Farbe | 1,36— | 2,53— |
| #DA70D6 | 2,94— | 1,84— | 1,36— | Gleiche Farbe | 3,45AA groß |
| #7A007A | 1,17— | 1,88— | 2,53— | 3,45AA groß | Gleiche Farbe |
Stufen
Farbstufen (50–950)
