In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Royal Periwinkle — colorset.net */
:root {
--color-1: #4169E1;
--color-2: #5179F1;
--color-3: #6189FF;
--color-4: #7199FF;
--color-5: #81A9FF;
--color-bg: #F3F7FF;
--color-surface: #E7EEFB;
--color-border: #CDD5E6;
--color-text: #394D81;
--color-muted: #616B83;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #1D3999;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #12192A;
--color-border: #242D42;
--color-text: #9CACCC;
--color-muted: #78849C;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #81A9FF;
--color-on-accent: #080F1F;
}
}
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 #81A9FF | für Kontrast angepasst · aus #4169E1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #4169E1 | für Kontrast angepasst · aus #81A9FF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 1 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #4169E1 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,66:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,06:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,97:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,85:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,01:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,51:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,33:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,36:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,67:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,08:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,85:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,24:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,94:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,24: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 | #4169E1 (Text 1) | #5179F1 (Text 2) | #6189FF (Text 3) | #7199FF (Text 4) | #81A9FF (Text 5) |
|---|---|---|---|---|---|
| #4169E1 | Gleiche Farbe | 1,24— | 1,51— | 1,78— | 2,09— |
| #5179F1 | 1,24— | Gleiche Farbe | 1,22— | 1,44— | 1,69— |
| #6189FF | 1,51— | 1,22— | Gleiche Farbe | 1,18— | 1,39— |
| #7199FF | 1,78— | 1,44— | 1,18— | Gleiche Farbe | 1,18— |
| #81A9FF | 2,09— | 1,69— | 1,39— | 1,18— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
