Export

Code

/* Moon Dust — colorset.net */
:root {
  --color-1: #EEEEF2;
  --color-2: #5A5F8A;
  --color-3: #C9A87C;
  --color-4: #CFD0DA;
  --color-5: #1E1F2E;

  --color-bg: #EEEEF2;
  --color-surface: #F5F5F8;
  --color-border: #D5D5DD;
  --color-text: #1E1F2E;
  --color-muted: #696B7D;
  --color-primary: #5A5F8A;
  --color-on-primary: #FFFFFF;
  --color-accent: #A38358;
  --color-on-accent: #1E1F2E;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1E1F2E;
    --color-surface: #292A3A;
    --color-border: #3E3F53;
    --color-text: #EEEEF2;
    --color-muted: #939397;
    --color-primary: #6E73A0;
    --color-on-primary: #FFFFFF;
    --color-accent: #C9A87C;
    --color-on-accent: #1E1F2E;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #5A5F8A
On primaryderivedderived
Accentadjusted for contrast · from #C9A87Cfrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.06:1AAA pass 4.5:1
Text on surface14.95:1AAA pass 4.5:1
Muted text on background4.54:1AA pass 4.5:1
Label on primary6.11:1AA pass 4.5:1
Label on accent4.61:1AA pass 4.5:1
Primary on background5.28:1AA pass 3:1
Accent on background3.05:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.06:1AAA pass 4.5:1
Text on surface12.21:1AAA pass 4.5:1
Muted text on background5.32:1AA pass 4.5:1
Label on primary4.54:1AA pass 4.5:1
Label on accent7.26:1AAA pass 4.5:1
Primary on background3.58:1AA Large pass 3:1
Accent on background7.26:1AAA 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.

Every color on every color
Background / Text#EEEEF2 (Text 1)#5A5F8A (Text 2)#C9A87C (Text 3)#CFD0DA (Text 4)#1E1F2E (Text 5)
#EEEEF2Same color5.28AA1.94—1.33—14.06AAA
#5A5F8A5.28AASame color2.73—3.98AA Large2.66—
#C9A87C1.94—2.73—Same color1.46—7.26AAA
#CFD0DA1.33—3.98AA Large1.46—Same color10.61AAA
#1E1F2E14.06AAA2.66—7.26AAA10.61AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#EEEEF2#5A5F8A#C9A87C#CFD0DA#1E1F2E

Variations

About Moon Dust

Lunar grey with a dusky indigo and a warm moon-dust gold. No single hue dominates Moon Dust: neutral carries about 39% of the color weight, shared with orange and purple, and light orange #C9A87C sits in the middle of the range. A 156° hue spread puts dusty purple against light orange #C9A87C, close to a complementary contrast. Lightness runs from 25% to 95% (OKLCH), with #C9A87C in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.037, peaking at 0.070 in #C9A87C); the colors feel soft and muted. Text contrast reaches 14.1:1 in light mode and 14.1:1 in dark mode, with #5A5F8A as primary and #A38358 as accent. Its muted character, led by #5A5F8A, suits illustration, data visualization and brand systems with many sub-brands.

Moon Dust color palette: #EEEEF2, #5A5F8A, #C9A87C, #CFD0DA, #1E1F2E
Share image for Moon Dust

Gradients in similar colors