Export

Code

/* Electric Purple — colorset.net */
:root {
  --color-1: #4B0082;
  --color-2: #6A1B9A;
  --color-3: #8E24AA;
  --color-4: #AB47BC;
  --color-5: #CE93D8;

  --color-bg: #FDF3FF;
  --color-surface: #F4E9F6;
  --color-border: #DDD0DF;
  --color-text: #402A5E;
  --color-muted: #6F667E;
  --color-primary: #AB47BC;
  --color-on-primary: #FFFFFF;
  --color-accent: #4B0082;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #120B1C;
    --color-surface: #1C1527;
    --color-border: #31293F;
    --color-text: #BBA2BF;
    --color-muted: #907C93;
    --color-primary: #AB47BC;
    --color-on-primary: #FFFFFF;
    --color-accent: #8049C0;
    --color-on-accent: #FFFFFF;
  }
}

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 #CE93D8adjusted for contrast · from #4B0082
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4B0082adjusted for contrast · from #CE93D8
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 1adjusted for contrast · from #8E24AA
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background11.36:1AAA pass 4.5:1
Text on surface10.42:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary4.82:1AA pass 4.5:1
Label on accent12.95:1AAA pass 4.5:1
Primary on background4.46:1AA Large pass 3:1
Accent on background11.99:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.28:1AAA pass 4.5:1
Text on surface7.62:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary4.82:1AA pass 4.5:1
Label on accent5.78:1AA pass 4.5:1
Primary on background4.00:1AA Large pass 3:1
Accent on background3.33:1AA Large 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#4B0082 (Text 1)#6A1B9A (Text 2)#8E24AA (Text 3)#AB47BC (Text 4)#CE93D8 (Text 5)
#4B0082Same color1.38—1.84—2.69—5.42AA
#6A1B9A1.38—Same color1.33—1.95—3.93AA Large
#8E24AA1.84—1.33—Same color1.46—2.95—
#AB47BC2.69—1.95—1.46—Same color2.02—
#CE93D85.42AA3.93AA Large2.95—2.02—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4B0082#6A1B9A#8E24AA#AB47BC#CE93D8

Variations

About Electric Purple

Electric Purple brings together two dark purples, two vivid purples and a light purple (#4B0082, #6A1B9A, #8E24AA, #AB47BC, #CE93D8) in a cool, purple-led scheme. All hues sit within 20° of each other, so dark purple #4B0082 and its relatives form a cohesive monochromatic scheme. With lightness between 34% and 74% and #8E24AA near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.177, high for a palette, so the colors feel saturated and energetic; the most saturated color is #8E24AA. As a UI theme it uses #AB47BC for primary actions and #4B0082 as the accent; dark mode sits on #120B1C with #BBA2BF text (8.3:1). Try it for beauty brands, creative studios and focused single-product sites, letting vivid purple #AB47BC carry the key actions.

Electric Purple color palette: #4B0082, #6A1B9A, #8E24AA, #AB47BC, #CE93D8
Share image for Electric Purple

Gradients in similar colors