PreviewingGo to this paletteOpen in generator
Code
/* Dusky Iris — colorset.net */
:root {
--color-1: #483D8B;
--color-2: #5B4D9B;
--color-3: #6E5DAB;
--color-4: #816DBB;
--color-5: #947DCB;
--color-bg: #F7F5FF;
--color-surface: #EEEBFA;
--color-border: #D6D2E4;
--color-text: #48437A;
--color-muted: #696982;
--color-primary: #7E6AB8;
--color-on-primary: #FFFFFF;
--color-accent: #5B4D9B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1E;
--color-surface: #181729;
--color-border: #2C2B41;
--color-text: #A89FC2;
--color-muted: #857F99;
--color-primary: #7E6AB8;
--color-on-primary: #FFFFFF;
--color-accent: #635AAB;
--color-on-accent: #FFFFFF;
}
}
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 #947DCB | adjusted for contrast · from #483D8B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #483D8B | adjusted for contrast · from #947DCB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #816DBB | adjusted for contrast · from #816DBB |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6E5DAB |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.25:1 | AAA pass 4.5:1 | |
| Text on surface | 7.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.05:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 6.53:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.86:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large 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) | #5B4D9B (Text 2) | #6E5DAB (Text 3) | #816DBB (Text 4) | #947DCB (Text 5) |
|---|---|---|---|---|---|
| #483D8B | Same color | 1.29— | 1.65— | 2.09— | 2.61— |
| #5B4D9B | 1.29— | Same color | 1.28— | 1.62— | 2.03— |
| #6E5DAB | 1.65— | 1.28— | Same color | 1.27— | 1.59— |
| #816DBB | 2.09— | 1.62— | 1.27— | Same color | 1.25— |
| #947DCB | 2.61— | 2.03— | 1.59— | 1.25— | Same color |
Shades
Shades and tints (50–950)
