Export

Code

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

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #53457C;
  --color-muted: #6C6781;
  --color-primary: #8000FF;
  --color-on-primary: #FFFFFF;
  --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: #8428FF;
    --color-on-primary: #FFFFFF;
    --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
Primaryfrom palette · color 5adjusted for contrast · from #8000FF
On primaryderivedderived
Accentadjusted for contrast · from #FF8000from 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.25:1AA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background5.82:1AA 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 primary5.63:1AA pass 4.5:1
Label on accent17.90:1AAA pass 4.5:1
Primary on background3.41:1AA Large 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#FF0080 (Text 1)#00FFFF (Text 2)#FFFF00 (Text 3)#FF8000 (Text 4)#8000FF (Text 5)
#FF0080Same color3.01AA Large3.51AA Large1.50—1.65—
#00FFFF3.01AA LargeSame color1.17—2.01—4.98AA
#FFFF003.51AA Large1.17—Same color2.34—5.82AA
#FF80001.50—2.01—2.34—Same color2.48—
#8000FF1.65—4.98AA5.82AA2.48—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FF0080#00FFFF#FFFF00#FF8000#8000FF

Variations

About Cyber Rainbow

Five colors make up Cyber Rainbow, a warm multi-color set: #FF0080, #00FFFF, #FFFF00, #FF8000, #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 #FF8000 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.221, high for a palette, so the colors feel saturated and energetic; the most saturated color is #8000FF. As a UI theme it uses #8000FF for primary actions and #797900 as the accent; dark mode sits on #100C1D with #F6F8D2 text (17.6:1). Its vivid and neon character, led by #8000FF, suits illustration, kids’ apps and tech launches.

Cyber Rainbow color palette: #FF0080, #00FFFF, #FFFF00, #FF8000, #8000FF
Share image for Cyber Rainbow

Gradients in similar colors