PreviewingGo to this paletteOpen in generator
Code
/* Silver Glow — colorset.net */
:root {
--color-1: #F0F8FF;
--color-2: #E6E6FA;
--color-3: #D8BFD8;
--color-4: #DDA0DD;
--color-5: #DA70D6;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #6B3D69;
--color-muted: #796478;
--color-primary: #C960C6;
--color-on-primary: #000000;
--color-accent: #82898F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180917;
--color-surface: #221321;
--color-border: #392738;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #DA70D6;
--color-on-primary: #180917;
--color-accent: #D8BFD8;
--color-on-accent: #180917;
}
}
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 | from palette · color 1 | adjusted for contrast · from #DA70D6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DA70D6 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DA70D6 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DDA0DD | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.95:1 | AAA pass 4.5:1 | |
| Text on surface | 16.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 6.67:1 | AA pass 4.5:1 | |
| Label on accent | 11.34:1 | AAA pass 4.5:1 | |
| Primary on background | 6.67:1 | AA pass 3:1 | |
| Accent on background | 11.34: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 | #F0F8FF (Text 1) | #E6E6FA (Text 2) | #D8BFD8 (Text 3) | #DDA0DD (Text 4) | #DA70D6 (Text 5) |
|---|---|---|---|---|---|
| #F0F8FF | Same color | 1.15— | 1.58— | 1.93— | 2.69— |
| #E6E6FA | 1.15— | Same color | 1.38— | 1.68— | 2.35— |
| #D8BFD8 | 1.58— | 1.38— | Same color | 1.22— | 1.70— |
| #DDA0DD | 1.93— | 1.68— | 1.22— | Same color | 1.40— |
| #DA70D6 | 2.69— | 2.35— | 1.70— | 1.40— | Same color |
Shades
Shades and tints (50–950)
