Export

Code

/* Digital Rainbow — colorset.net */
:root {
  --color-1: #FF00FF;
  --color-2: #00FFFF;
  --color-3: #FFFF00;
  --color-4: #FF0080;
  --color-5: #8000FF;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #53457C;
  --color-muted: #6C6781;
  --color-primary: #F100F1;
  --color-on-primary: #000000;
  --color-accent: #797900;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #100C1D;
    --color-surface: #1A1628;
    --color-border: #2F2A40;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #FF00FF;
    --color-on-primary: #100C1D;
    --color-accent: #FFFF00;
    --color-on-accent: #100C1D;
  }
}

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 #00FFFFadjusted for contrast · from #8000FF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8000FFadjusted for contrast · from #FFFF00
Muted textderivedderived
Primaryadjusted for contrast · from #FF00FFfrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FF0080from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.79:1AAA pass 4.5:1
Text on surface7.19:1AAA pass 4.5:1
Muted text on background5.02:1AA pass 4.5:1
Label on primary6.01:1AA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background3.25:1AA Large pass 3:1
Accent on background4.30:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.65:1AAA pass 4.5:1
Text on surface16.21:1AAA pass 4.5:1
Muted text on background5.57:1AA pass 4.5:1
Label on primary6.13:1AA pass 4.5:1
Label on accent17.90:1AAA pass 4.5:1
Primary on background6.13:1AA pass 3:1
Accent on background17.90: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#FF00FF (Text 1)#00FFFF (Text 2)#FFFF00 (Text 3)#FF0080 (Text 4)#8000FF (Text 5)
#FF00FFSame color2.50—2.92—1.20—1.99—
#00FFFF2.50—Same color1.17—3.01AA Large4.98AA
#FFFF002.92—1.17—Same color3.51AA Large5.82AA
#FF00801.20—3.01AA Large3.51AA LargeSame color1.65—
#8000FF1.99—4.98AA5.82AA1.65—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FF00FF#00FFFF#FFFF00#FF0080#8000FF

Variations

About Digital Rainbow

Five colors make up Digital Rainbow, a warm multi-color set: #FF00FF, #00FFFF, #FFFF00, #FF0080, #8000FF. Pale yellow #FFFF00 and vivid purple #8000FF sit on nearly opposite sides of the wheel (176° apart), a complementary pairing that makes accents pop. With lightness between 53% and 97% and #FF00FF near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.248, high for a palette, so the colors feel saturated and energetic; the most saturated color is #FF00FF. In light mode #F7F8E9 becomes the background with #53457C text at 7.8:1, and #F100F1 takes the primary role. Try it for data visualization, brand systems with many sub-brands and educational content, letting vivid pink #FF00FF carry the key actions.

Digital Rainbow color palette: #FF00FF, #00FFFF, #FFFF00, #FF0080, #8000FF
Share image for Digital Rainbow

Gradients in similar colors