Export

Code

/* Starlit Nebula — colorset.net */
:root {
  --color-1: #191970;
  --color-2: #4B0082;
  --color-3: #8A2BE2;
  --color-4: #9370DB;
  --color-5: #FFD700;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #1D2557;
  --color-muted: #636A83;
  --color-primary: #8A2BE2;
  --color-on-primary: #FFFFFF;
  --color-accent: #8C7500;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0A0E1F;
    --color-surface: #14182A;
    --color-border: #272C42;
    --color-text: #E4DAB5;
    --color-muted: #898267;
    --color-primary: #8D30E5;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFD700;
    --color-on-accent: #0A0E1F;
  }
}

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
Backgroundadjusted for contrast · from #FFD700adjusted for contrast · from #191970
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #191970adjusted for contrast · from #FFD700
Muted textderivedderived
Primaryfrom palette · color 3adjusted for contrast · from #8A2BE2
On primaryderivedderived
Accentadjusted for contrast · from #9370DBfrom palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.46:1AAA pass 4.5:1
Text on surface12.40:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.96:1AA pass 4.5:1
Label on accent4.51:1AA pass 4.5:1
Primary on background5.55:1AA pass 3:1
Accent on background4.20:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.69:1AAA pass 4.5:1
Text on surface12.56:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent13.67:1AAA pass 4.5:1
Primary on background3.37:1AA Large pass 3:1
Accent on background13.67: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#191970 (Text 1)#4B0082 (Text 2)#8A2BE2 (Text 3)#9370DB (Text 4)#FFD700 (Text 5)
#191970Same color1.15—2.49—3.95AA Large10.59AAA
#4B00821.15—Same color2.17—3.44AA Large9.23AAA
#8A2BE22.49—2.17—Same color1.58—4.25AA Large
#9370DB3.95AA Large3.44AA Large1.58—Same color2.68—
#FFD70010.59AAA9.23AAA4.25AA Large2.68—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#191970#4B0082#8A2BE2#9370DB#FFD700

Variations

About Starlit Nebula

About 62% of the color weight in Starlit Nebula sits in purple, which makes it a cool palette anchored by vivid purple #8A2BE2. A 177° hue spread puts deep blue against pale yellow #FFD700, close to a complementary contrast. Lightness spans 29% (#191970) to 89% (#FFD700), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.183, peaking at 0.250 in #8A2BE2); the colors feel saturated and energetic. As a UI theme it uses #8A2BE2 for primary actions and #8C7500 as the accent; dark mode sits on #0A0E1F with #E4DAB5 text (13.7:1). Its vivid and colorful character, led by #8A2BE2, suits creative studios, beauty brands and posters.

Starlit Nebula color palette: #191970, #4B0082, #8A2BE2, #9370DB, #FFD700
Share image for Starlit Nebula

Gradients in similar colors