PreviewingGo to this paletteOpen in generator
Code
/* Heather Smoke — colorset.net */
:root {
--color-1: #708090;
--color-2: #848B9B;
--color-3: #9896A6;
--color-4: #ACA1B1;
--color-5: #626470;
--color-bg: #F9F5FA;
--color-surface: #EFECF1;
--color-border: #D8D2DB;
--color-text: #4C4E59;
--color-muted: #686A76;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #626470;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F13;
--color-surface: #18191D;
--color-border: #2C2D34;
--color-text: #ACA1B1;
--color-muted: #8A7F8E;
--color-primary: #708090;
--color-on-primary: #0F0F13;
--color-accent: #656773;
--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 #ACA1B1 | adjusted for contrast · from #626470 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #626470 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | from palette · color 5 | adjusted for contrast · from #626470 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.76:1 | AA Large pass 3:1 | |
| Accent on background | 5.44:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 5.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.72:1 | AA pass 3:1 | |
| Accent on background | 3.41: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 | #708090 (Text 1) | #848B9B (Text 2) | #9896A6 (Text 3) | #ACA1B1 (Text 4) | #626470 (Text 5) |
|---|---|---|---|---|---|
| #708090 | Same color | 1.19— | 1.40— | 1.64— | 1.45— |
| #848B9B | 1.19— | Same color | 1.18— | 1.38— | 1.72— |
| #9896A6 | 1.40— | 1.18— | Same color | 1.17— | 2.03— |
| #ACA1B1 | 1.64— | 1.38— | 1.17— | Same color | 2.37— |
| #626470 | 1.45— | 1.72— | 2.03— | 2.37— | Same color |
Shades
Shades and tints (50–950)
