PreviewingGo to this paletteOpen in generator
Code
/* Pearl Luster — colorset.net */
:root {
--color-1: #E6E6F0;
--color-2: #F0F0F5;
--color-3: #FAFAFA;
--color-4: #FFFFFF;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #515159;
--color-muted: #6F6F78;
--color-primary: #8D8D97;
--color-on-primary: #000000;
--color-accent: #5C5C64;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F12;
--color-surface: #19191C;
--color-border: #2D2D33;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #E6E6F0;
--color-on-primary: #0F0F12;
--color-accent: #AFAFB8;
--color-on-accent: #0F0F12;
}
}
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 5 | adjusted for contrast · from #E6E6F0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6E6F0 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6E6F0 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6E6F0 | adjusted for contrast · from #E6E6F0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 6.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.62:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.14:1 | AAA pass 4.5:1 | |
| Text on surface | 17.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 15.44:1 | AAA pass 4.5:1 | |
| Label on accent | 8.79:1 | AAA pass 4.5:1 | |
| Primary on background | 15.44:1 | AAA pass 3:1 | |
| Accent on background | 8.79: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 | #E6E6F0 (Text 1) | #F0F0F5 (Text 2) | #FAFAFA (Text 3) | #FFFFFF (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #E6E6F0 | Same color | 1.09— | 1.19— | 1.24— | 1.24— |
| #F0F0F5 | 1.09— | Same color | 1.09— | 1.14— | 1.14— |
| #FAFAFA | 1.19— | 1.09— | Same color | 1.04— | 1.04— |
| #FFFFFF | 1.24— | 1.14— | 1.04— | Same color | 1.00— |
| #FFFFFF | 1.24— | 1.14— | 1.04— | 1.00— | Same color |
Shades
Shades and tints (50–950)
