PreviewingGo to this paletteOpen in generator
Code
/* Moonlight Meditation — colorset.net */
:root {
--color-1: #12152A;
--color-2: #A9B8FF;
--color-3: #F2C6A0;
--color-4: #262B4A;
--color-5: #EEF0FA;
--color-bg: #EEF0FA;
--color-surface: #F6F8FE;
--color-border: #D4D7E5;
--color-text: #12152A;
--color-muted: #626781;
--color-primary: #7986C9;
--color-on-primary: #12152A;
--color-accent: #AA815D;
--color-on-accent: #12152A;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #12152A;
--color-surface: #1C2036;
--color-border: #31354B;
--color-text: #EEF0FA;
--color-muted: #8A8C95;
--color-primary: #A9B8FF;
--color-on-primary: #12152A;
--color-accent: #F2C6A0;
--color-on-accent: #12152A;
}
}
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 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A9B8FF | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2C6A0 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.84:1 | AAA pass 4.5:1 | |
| Text on surface | 16.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 5.20:1 | AA pass 4.5:1 | |
| Label on accent | 5.15:1 | AA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.84:1 | AAA pass 4.5:1 | |
| Text on surface | 14.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 9.42:1 | AAA pass 4.5:1 | |
| Label on accent | 11.45:1 | AAA pass 4.5:1 | |
| Primary on background | 9.42:1 | AAA pass 3:1 | |
| Accent on background | 11.45: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 | #12152A (Text 1) | #A9B8FF (Text 2) | #F2C6A0 (Text 3) | #262B4A (Text 4) | #EEF0FA (Text 5) |
|---|---|---|---|---|---|
| #12152A | Same color | 9.42AAA | 11.45AAA | 1.31— | 15.84AAA |
| #A9B8FF | 9.42AAA | Same color | 1.22— | 7.20AAA | 1.68— |
| #F2C6A0 | 11.45AAA | 1.22— | Same color | 8.75AAA | 1.38— |
| #262B4A | 1.31— | 7.20AAA | 8.75AAA | Same color | 12.10AAA |
| #EEF0FA | 15.84AAA | 1.68— | 1.38— | 12.10AAA | Same color |
Shades
Shades and tints (50–950)
