In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Pastel Grid — colorset.net */
:root {
--color-1: #F5F0FF;
--color-2: #B28DFF;
--color-3: #5FC8EA;
--color-4: #E2D4FF;
--color-5: #2A2245;
--color-bg: #F5F0FF;
--color-surface: #FBF9FF;
--color-border: #DDD7E9;
--color-text: #2A2245;
--color-muted: #6E6A84;
--color-primary: #9D77E7;
--color-on-primary: #000000;
--color-accent: #2095B6;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100D19;
--color-surface: #1A1724;
--color-border: #2E2B3C;
--color-text: #F5F0FF;
--color-muted: #8B8794;
--color-primary: #B28DFF;
--color-on-primary: #100D19;
--color-accent: #5FC8EA;
--color-on-accent: #100D19;
}
}
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 1 | für Kontrast angepasst · aus #2A2245 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #B28DFF | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #5FC8EA | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,30:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,22:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,63:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,23:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,04:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,02:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,11:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,18:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,76:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,48:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 7,45:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,00:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 7,45:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,00: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 | #F5F0FF (Text 1) | #B28DFF (Text 2) | #5FC8EA (Text 3) | #E2D4FF (Text 4) | #2A2245 (Text 5) |
|---|---|---|---|---|---|
| #F5F0FF | Gleiche Farbe | 2,31— | 1,72— | 1,24— | 13,30AAA |
| #B28DFF | 2,31— | Gleiche Farbe | 1,34— | 1,85— | 5,76AA |
| #5FC8EA | 1,72— | 1,34— | Gleiche Farbe | 1,38— | 7,74AAA |
| #E2D4FF | 1,24— | 1,85— | 1,38— | Gleiche Farbe | 10,68AAA |
| #2A2245 | 13,30AAA | 5,76AA | 7,74AAA | 10,68AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
