In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Dream Pastel — colorset.net */
:root {
--color-1: #E6B3FF;
--color-2: #FFCCF9;
--color-3: #FFE5E5;
--color-4: #E5FFFF;
--color-5: #E5FFE5;
--color-bg: #E5FFFF;
--color-surface: #DCF6F6;
--color-border: #C0DEDE;
--color-text: #644274;
--color-muted: #76677E;
--color-primary: #A978C0;
--color-on-primary: #000000;
--color-accent: #778F78;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150A1A;
--color-surface: #1F1425;
--color-border: #35283C;
--color-text: #E5FFFF;
--color-muted: #7A9292;
--color-primary: #E6B3FF;
--color-on-primary: #150A1A;
--color-accent: #FFE5E5;
--color-on-accent: #150A1A;
}
}
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 | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #E6B3FF |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #E6B3FF | aus der Palette · Farbe 4 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #E6B3FF | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #E6B3FF | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,80:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,21:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,01:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,13:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,98:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,27:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,36:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,42:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,94:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,83:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 11,24:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 16,14:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 11,24:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 16,14: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 | #E6B3FF (Text 1) | #FFCCF9 (Text 2) | #FFE5E5 (Text 3) | #E5FFFF (Text 4) | #E5FFE5 (Text 5) |
|---|---|---|---|---|---|
| #E6B3FF | Gleiche Farbe | 1,24— | 1,44— | 1,64— | 1,61— |
| #FFCCF9 | 1,24— | Gleiche Farbe | 1,15— | 1,32— | 1,30— |
| #FFE5E5 | 1,44— | 1,15— | Gleiche Farbe | 1,14— | 1,12— |
| #E5FFFF | 1,64— | 1,32— | 1,14— | Gleiche Farbe | 1,02— |
| #E5FFE5 | 1,61— | 1,30— | 1,12— | 1,02— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
