PreviewingGo to this paletteOpen in generator
Code
/* Twilight Iris — colorset.net */
:root {
--color-1: #483D8B;
--color-2: #584D9B;
--color-3: #685DAB;
--color-4: #786DBB;
--color-5: #887DCB;
--color-bg: #F6F6FF;
--color-surface: #EDECFB;
--color-border: #D4D3E5;
--color-text: #48437A;
--color-muted: #696982;
--color-primary: #756AB8;
--color-on-primary: #FFFFFF;
--color-accent: #584D9B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1E;
--color-surface: #181729;
--color-border: #2C2B41;
--color-text: #A4A1C3;
--color-muted: #82809A;
--color-primary: #756AB8;
--color-on-primary: #FFFFFF;
--color-accent: #A8A0E6;
--color-on-accent: #0E0D1E;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #887DCB | adjusted for contrast · from #483D8B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #483D8B | adjusted for contrast · from #887DCB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #786DBB | adjusted for contrast · from #786DBB |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #887DCB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.28:1 | AAA pass 4.5:1 | |
| Text on surface | 7.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 7.12:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 6.63:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 8.07:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 8.07:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #483D8B (Text 1) | #584D9B (Text 2) | #685DAB (Text 3) | #786DBB (Text 4) | #887DCB (Text 5) |
|---|---|---|---|---|---|
| #483D8B | Same color | 1.27— | 1.62— | 2.03— | 2.52— |
| #584D9B | 1.27— | Same color | 1.27— | 1.59— | 1.98— |
| #685DAB | 1.62— | 1.27— | Same color | 1.26— | 1.56— |
| #786DBB | 2.03— | 1.59— | 1.26— | Same color | 1.24— |
| #887DCB | 2.52— | 1.98— | 1.56— | 1.24— | Same color |
Shades
Shades and tints (50–950)
