PreviewingGo to this paletteOpen in generator
Code
/* Indigo Iris — colorset.net */
:root {
--color-1: #1E0042;
--color-2: #4B0082;
--color-3: #5D3FD3;
--color-4: #6A5ACD;
--color-5: #836FFF;
--color-bg: #F6F6FF;
--color-surface: #ECECFB;
--color-border: #D3D3E5;
--color-text: #1C083A;
--color-muted: #6D6780;
--color-primary: #755FED;
--color-on-primary: #FFFFFF;
--color-accent: #4B0082;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110C1D;
--color-surface: #1B1628;
--color-border: #2F2A40;
--color-text: #A2A2C5;
--color-muted: #81819B;
--color-primary: #755FED;
--color-on-primary: #FFFFFF;
--color-accent: #705BA2;
--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 #836FFF | adjusted for contrast · from #1E0042 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #1E0042 | adjusted for contrast · from #836FFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #836FFF | adjusted for contrast · from #836FFF |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6A5ACD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.07:1 | AAA pass 4.5:1 | |
| Text on surface | 15.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 12.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 12.05:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 3.39: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 | #1E0042 (Text 1) | #4B0082 (Text 2) | #5D3FD3 (Text 3) | #6A5ACD (Text 4) | #836FFF (Text 5) |
|---|---|---|---|---|---|
| #1E0042 | Same color | 1.43— | 2.75— | 3.49AA Large | 5.01AA |
| #4B0082 | 1.43— | Same color | 1.92— | 2.44— | 3.50AA Large |
| #5D3FD3 | 2.75— | 1.92— | Same color | 1.27— | 1.82— |
| #6A5ACD | 3.49AA Large | 2.44— | 1.27— | Same color | 1.44— |
| #836FFF | 5.01AA | 3.50AA Large | 1.82— | 1.44— | Same color |
Shades
Shades and tints (50–950)
