Export

Code

/* Data Colors — colorset.net */
:root {
  --color-1: #4682B4;
  --color-2: #32CD32;
  --color-3: #FFD700;
  --color-4: #FF6347;
  --color-5: #8A2BE2;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #5A447A;
  --color-muted: #706780;
  --color-primary: #8A2BE2;
  --color-on-primary: #FFFFFF;
  --color-accent: #008808;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #120B1C;
    --color-surface: #1C1527;
    --color-border: #31293F;
    --color-text: #E4DAB5;
    --color-muted: #898267;
    --color-primary: #8D30E5;
    --color-on-primary: #FFFFFF;
    --color-accent: #32CD32;
    --color-on-accent: #120B1C;
  }
}

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 #8A2BE2
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4682B4adjusted for contrast · from #FFD700
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #8A2BE2
On primaryderivedderived
Accentadjusted for contrast · from #32CD32from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.70:1AAA pass 4.5:1
Text on surface7.09:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary5.96:1AA pass 4.5:1
Label on accent4.64:1AA pass 4.5:1
Primary on background5.55:1AA pass 3:1
Accent on background4.33:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.75:1AAA pass 4.5:1
Text on surface12.64:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent9.09:1AAA pass 4.5:1
Primary on background3.38:1AA Large pass 3:1
Accent on background9.09: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#4682B4 (Text 1)#32CD32 (Text 2)#FFD700 (Text 3)#FF6347 (Text 4)#8A2BE2 (Text 5)
#4682B4Same color1.94—2.93—1.39—1.45—
#32CD321.94—Same color1.51—1.39—2.81—
#FFD7002.93—1.51—Same color2.10—4.25AA Large
#FF63471.39—1.39—2.10—Same color2.02—
#8A2BE21.45—2.81—4.25AA Large2.02—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4682B4#32CD32#FFD700#FF6347#8A2BE2

Variations

About Data Colors

No single hue dominates Data Colors: green carries about 22% of the color weight, shared with purple and red, and vivid red #FF6347 sits in the middle of the range. A 159° hue spread puts light green against vivid purple #8A2BE2, close to a complementary contrast. Lightness spans 53% (#8A2BE2) to 89% (#FFD700), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.191, peaking at 0.250 in #8A2BE2); the colors feel saturated and energetic. As a UI theme it uses #8A2BE2 for primary actions and #008808 as the accent; dark mode sits on #120B1C with #E4DAB5 text (13.8:1). With #8A2BE2 leading, good fits include brand systems with many sub-brands, data visualization and infographics.

Data Colors color palette: #4682B4, #32CD32, #FFD700, #FF6347, #8A2BE2
Share image for Data Colors

Gradients in similar colors