PreviewingGo to this paletteOpen in generator
Code
/* Powder Room — colorset.net */
:root {
--color-1: #F3E3EA;
--color-2: #E2BED5;
--color-3: #BFA2C6;
--color-4: #B1CBDF;
--color-5: #917CA2;
--color-bg: #F3E3EA;
--color-surface: #F6ECF0;
--color-border: #DDC9D2;
--color-text: #574366;
--color-muted: #6E6179;
--color-primary: #917CA2;
--color-on-primary: #000000;
--color-accent: #5E4D6B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130C17;
--color-surface: #1D1622;
--color-border: #322A39;
--color-text: #F3E3EA;
--color-muted: #8D7F85;
--color-primary: #917CA2;
--color-on-primary: #130C17;
--color-accent: #E2BED5;
--color-on-accent: #130C17;
}
}
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 #917CA2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #917CA2 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #917CA2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.08:1 | AAA pass 4.5:1 | |
| Text on surface | 7.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 5.61:1 | AA pass 4.5:1 | |
| Label on accent | 7.64:1 | AAA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 6.18:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.55:1 | AAA pass 4.5:1 | |
| Text on surface | 14.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.13:1 | AA pass 4.5:1 | |
| Label on accent | 11.49:1 | AAA pass 4.5:1 | |
| Primary on background | 5.13:1 | AA pass 3:1 | |
| Accent on background | 11.49: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 | #F3E3EA (Text 1) | #E2BED5 (Text 2) | #BFA2C6 (Text 3) | #B1CBDF (Text 4) | #917CA2 (Text 5) |
|---|---|---|---|---|---|
| #F3E3EA | Same color | 1.35— | 1.85— | 1.36— | 3.03AA Large |
| #E2BED5 | 1.35— | Same color | 1.37— | 1.01— | 2.24— |
| #BFA2C6 | 1.85— | 1.37— | Same color | 1.36— | 1.64— |
| #B1CBDF | 1.36— | 1.01— | 1.36— | Same color | 2.22— |
| #917CA2 | 3.03AA Large | 2.24— | 1.64— | 2.22— | Same color |
Shades
Shades and tints (50–950)
