PreviewingGo to this paletteOpen in generator
Code
/* Powder White — colorset.net */
:root {
--color-1: #F9F9F9;
--color-2: #F4F4F4;
--color-3: #EFEFEF;
--color-4: #EAEAEA;
--color-5: #E5E5E5;
--color-bg: #F9F9F9;
--color-surface: #F0F0F0;
--color-border: #DAD6D7;
--color-text: #505050;
--color-muted: #6C6C6C;
--color-primary: #8A8A8A;
--color-on-primary: #000000;
--color-accent: #595959;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #F9F9F9;
--color-muted: #8C8C8C;
--color-primary: #E5E5E5;
--color-on-primary: #0F0F0F;
--color-accent: #AEAEAE;
--color-on-accent: #0F0F0F;
}
}
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 #E5E5E5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E5E5E5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E5E5E5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E5E5E5 | adjusted for contrast · from #E5E5E5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 6.08:1 | AA pass 4.5:1 | |
| Label on accent | 7.00:1 | AAA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 6.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.21:1 | AAA pass 4.5:1 | |
| Text on surface | 16.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.70:1 | AA pass 4.5:1 | |
| Label on primary | 15.22:1 | AAA pass 4.5:1 | |
| Label on accent | 8.64:1 | AAA pass 4.5:1 | |
| Primary on background | 15.22:1 | AAA pass 3:1 | |
| Accent on background | 8.64: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 | #F9F9F9 (Text 1) | #F4F4F4 (Text 2) | #EFEFEF (Text 3) | #EAEAEA (Text 4) | #E5E5E5 (Text 5) |
|---|---|---|---|---|---|
| #F9F9F9 | Same color | 1.04— | 1.09— | 1.14— | 1.20— |
| #F4F4F4 | 1.04— | Same color | 1.05— | 1.09— | 1.15— |
| #EFEFEF | 1.09— | 1.05— | Same color | 1.05— | 1.10— |
| #EAEAEA | 1.14— | 1.09— | 1.05— | Same color | 1.05— |
| #E5E5E5 | 1.20— | 1.15— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
