PreviewingGo to this paletteOpen in generator
Code
/* Holographic Foil — colorset.net */
:root {
--color-1: #FF00AA;
--color-2: #AA00FF;
--color-3: #0055FF;
--color-4: #00AAFF;
--color-5: #00FFAA;
--color-bg: #ECFBF2;
--color-surface: #E3F2E9;
--color-border: #C8DACF;
--color-text: #334D7F;
--color-muted: #5E6B82;
--color-primary: #AA00FF;
--color-on-primary: #FFFFFF;
--color-accent: #008858;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #11192A;
--color-border: #232E42;
--color-text: #BDE3CD;
--color-muted: #6D8979;
--color-primary: #AA00FF;
--color-on-primary: #FFFFFF;
--color-accent: #00FFAA;
--color-on-accent: #070F1F;
}
}
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 #00FFAA | adjusted for contrast · from #0055FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0055FF | adjusted for contrast · from #00FFAA |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00AAFF | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.06:1 | AA pass 4.5:1 | |
| Label on accent | 4.50:1 | AA pass 4.5:1 | |
| Primary on background | 4.73:1 | AA pass 3:1 | |
| Accent on background | 4.21:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.70:1 | AAA pass 4.5:1 | |
| Text on surface | 12.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.06:1 | AA pass 4.5:1 | |
| Label on accent | 14.48:1 | AAA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 14.48: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 | #FF00AA (Text 1) | #AA00FF (Text 2) | #0055FF (Text 3) | #00AAFF (Text 4) | #00FFAA (Text 5) |
|---|---|---|---|---|---|
| #FF00AA | Same color | 1.40— | 1.56— | 1.40— | 2.72— |
| #AA00FF | 1.40— | Same color | 1.11— | 1.97— | 3.82AA Large |
| #0055FF | 1.56— | 1.11— | Same color | 2.19— | 4.24AA Large |
| #00AAFF | 1.40— | 1.97— | 2.19— | Same color | 1.94— |
| #00FFAA | 2.72— | 3.82AA Large | 4.24AA Large | 1.94— | Same color |
Shades
Shades and tints (50–950)
