Export

Code

/* Starlight — colorset.net */
:root {
  --color-1: #F3F2FA;
  --color-2: #3B3B98;
  --color-3: #E8A23B;
  --color-4: #D4D3EA;
  --color-5: #15142B;

  --color-bg: #F3F2FA;
  --color-surface: #FAFAFF;
  --color-border: #DAD9E4;
  --color-text: #15142B;
  --color-muted: #676781;
  --color-primary: #3B3B98;
  --color-on-primary: #FFFFFF;
  --color-accent: #BF7D00;
  --color-on-accent: #15142B;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #15142B;
    --color-surface: #1F1F37;
    --color-border: #34344B;
    --color-text: #F3F2FA;
    --color-muted: #8E8D94;
    --color-primary: #5C62C3;
    --color-on-primary: #FFFFFF;
    --color-accent: #E8A23B;
    --color-on-accent: #15142B;
  }
}

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 #3B3B98
On primaryderivedderived
Accentadjusted for contrast · from #E8A23Bfrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.19:1AAA pass 4.5:1
Text on surface17.30:1AAA pass 4.5:1
Muted text on background4.93:1AA pass 4.5:1
Label on primary9.27:1AAA pass 4.5:1
Label on accent5.27:1AA pass 4.5:1
Primary on background8.34:1AAA pass 3:1
Accent on background3.07:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.19:1AAA pass 4.5:1
Text on surface14.43:1AAA pass 4.5:1
Muted text on background5.47:1AA pass 4.5:1
Label on primary5.26:1AA pass 4.5:1
Label on accent8.28:1AAA pass 4.5:1
Primary on background3.42:1AA Large pass 3:1
Accent on background8.28: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#F3F2FA (Text 1)#3B3B98 (Text 2)#E8A23B (Text 3)#D4D3EA (Text 4)#15142B (Text 5)
#F3F2FASame color8.34AAA1.96—1.32—16.19AAA
#3B3B988.34AAASame color4.27AA Large6.32AA1.94—
#E8A23B1.96—4.27AA LargeSame color1.48—8.28AAA
#D4D3EA1.32—6.32AA1.48—Same color12.26AAA
#15142B16.19AAA1.94—8.28AAA12.26AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F3F2FA#3B3B98#E8A23B#D4D3EA#15142B

Variations

About Starlight

A light space scheme: starlight white, deep indigo and golden stars. Starlight is a balanced multi-color palette of 5 colors that runs from white #F3F2FA to deep purple #15142B. A 155° hue spread puts dark blue against light orange #E8A23B, close to a complementary contrast. Lightness runs from 21% to 96% (OKLCH), with #E8A23B in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.075, peaking at 0.148 in #3B3B98); the colors feel soft and muted. As a UI theme it uses #3B3B98 for primary actions and #BF7D00 as the accent; dark mode sits on #15142B with #F3F2FA text (16.2:1). With #3B3B98 leading, good fits include signage, presentation slides and accessible interfaces.

Starlight color palette: #F3F2FA, #3B3B98, #E8A23B, #D4D3EA, #15142B
Share image for Starlight

Gradients in similar colors