Spectrum Colors

Export

Code

/* Spectrum Colors — colorset.net */
:root {
  --color-1: #8E24AA;
  --color-2: #3F51B5;
  --color-3: #2196F3;
  --color-4: #4CAF50;
  --color-5: #FF9800;

  --color-bg: #FFF5EC;
  --color-surface: #F7EBE0;
  --color-border: #E1D2C4;
  --color-text: #3E4B80;
  --color-muted: #636A83;
  --color-primary: #8E24AA;
  --color-on-primary: #FFFFFF;
  --color-accent: #1B8626;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0A0E1F;
    --color-surface: #14182A;
    --color-border: #262D42;
    --color-text: #CCAE94;
    --color-muted: #947E6A;
    --color-primary: #9E37BA;
    --color-on-primary: #FFFFFF;
    --color-accent: #4CAF50;
    --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 #FF9800adjusted for contrast · from #3F51B5
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #3F51B5adjusted for contrast · from #FF9800
Muted textderivedderived
Primaryfrom palette · color 1adjusted for contrast · from #8E24AA
On primaryderivedderived
Accentadjusted for contrast · from #4CAF50from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.74:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary7.04:1AAA pass 4.5:1
Label on accent4.68:1AA pass 4.5:1
Primary on background6.55:1AA pass 3:1
Accent on background4.35:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background9.17:1AAA pass 4.5:1
Text on surface8.42:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary5.66:1AA pass 4.5:1
Label on accent6.90:1AA pass 4.5:1
Primary on background3.39:1AA Large pass 3:1
Accent on background6.90:1AA 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#8E24AA (Text 1)#3F51B5 (Text 2)#2196F3 (Text 3)#4CAF50 (Text 4)#FF9800 (Text 5)
#8E24AASame color1.02—2.25—2.53—3.27AA Large
#3F51B51.02—Same color2.20—2.47—3.19AA Large
#2196F32.25—2.20—Same color1.12—1.45—
#4CAF502.53—2.47—1.12—Same color1.29—
#FF98003.27AA Large3.19AA Large1.45—1.29—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8E24AA#3F51B5#2196F3#4CAF50#FF9800

Variations

About Spectrum Colors

No single hue dominates Spectrum Colors: blue carries about 38% of the color weight, shared with purple and orange, and blue #2196F3 sits in the middle of the range. A 175° hue spread puts blue against light orange #FF9800, close to a complementary contrast. All five colors stay in a narrow mid-tone band (48% to 77% lightness, #3F51B5 to #FF9800), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.174, peaking at 0.208 in #8E24AA); the colors feel saturated and energetic. In light mode #FFF5EC becomes the background with #3E4B80 text at 7.7:1, and #8E24AA takes the primary role. Its vivid and colorful character, led by #8E24AA, suits kids’ apps, illustration and educational content.

Spectrum Colors color palette: #8E24AA, #3F51B5, #2196F3, #4CAF50, #FF9800
Share image for Spectrum Colors

Gradients in similar colors