Export

Code

/* Mystical Purple — colorset.net */
:root {
  --color-1: #4B0082;
  --color-2: #8B008B;
  --color-3: #9932CC;
  --color-4: #BA55D3;
  --color-5: #DA70D6;

  --color-bg: #FFF2FE;
  --color-surface: #F5E9F4;
  --color-border: #DFCFDD;
  --color-text: #402A5E;
  --color-muted: #6F667E;
  --color-primary: #9932CC;
  --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: #B79BB5;
    --color-muted: #917B8F;
    --color-primary: #9932CC;
    --color-on-primary: #FFFFFF;
    --color-accent: #DA70D6;
    --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 #DA70D6adjusted for contrast · from #4B0082
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4B0082adjusted for contrast · from #DA70D6
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentfrom palette · color 1from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background11.33:1AAA pass 4.5:1
Text on surface10.43: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 accent12.95:1AAA pass 4.5:1
Primary on background5.26:1AA pass 3:1
Accent on background11.95:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.68:1AAA pass 4.5:1
Text on surface7.06:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent6.67:1AA pass 4.5:1
Primary on background3.38:1AA Large pass 3:1
Accent on background6.67: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#4B0082 (Text 1)#8B008B (Text 2)#9932CC (Text 3)#BA55D3 (Text 4)#DA70D6 (Text 5)
#4B0082Same color1.52—2.27—3.29AA Large4.48AA Large
#8B008B1.52—Same color1.49—2.16—2.94—
#9932CC2.27—1.49—Same color1.45—1.97—
#BA55D33.29AA Large2.16—1.45—Same color1.36—
#DA70D64.48AA Large2.94—1.97—1.36—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4B0082#8B008B#9932CC#BA55D3#DA70D6

Variations

About Mystical Purple

Mystical Purple is a cool purple palette of 5 colors that runs from vivid pink #DA70D6 to dark purple #4B0082. With a hue spread of just 27°, it is effectively monochromatic: #4B0082, #8B008B and #9932CC differ mostly in lightness. Lightness spans 34% (#4B0082) to 70% (#DA70D6), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.199, peaking at 0.227 in #9932CC); the colors feel saturated and energetic. As a UI theme it uses #9932CC for primary actions and #4B0082 as the accent; dark mode sits on #120B1C with #B79BB5 text (7.7:1). Try it for premium products, music and nightlife and creative studios, letting vivid purple #9932CC carry the key actions.

Mystical Purple color palette: #4B0082, #8B008B, #9932CC, #BA55D3, #DA70D6
Share image for Mystical Purple

Gradients in similar colors