Export

Code

/* Galaxy Purple — colorset.net */
:root {
  --color-1: #4A148C;
  --color-2: #7B1FA2;
  --color-3: #9C27B0;
  --color-4: #BA68C8;
  --color-5: #E1BEE7;

  --color-bg: #FDF3FF;
  --color-surface: #F4E9F6;
  --color-border: #DDD0DF;
  --color-text: #423166;
  --color-muted: #6D6780;
  --color-primary: #9C27B0;
  --color-on-primary: #FFFFFF;
  --color-accent: #9E7DA3;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #110C1D;
    --color-surface: #1B1628;
    --color-border: #302A40;
    --color-text: #DCC2E0;
    --color-muted: #8F7C92;
    --color-primary: #A22FB7;
    --color-on-primary: #FFFFFF;
    --color-accent: #784EC4;
    --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 #E1BEE7adjusted for contrast · from #4A148C
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4A148Cadjusted for contrast · from #E1BEE7
Muted textderivedderived
Primaryfrom palette · color 3adjusted for contrast · from #9C27B0
On primaryderivedderived
Accentadjusted for contrast · from #BA68C8adjusted for contrast · from #9C27B0
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background10.44:1AAA pass 4.5:1
Text on surface9.57:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary6.30:1AA pass 4.5:1
Label on accent5.92:1AA pass 4.5:1
Primary on background5.84:1AA pass 3:1
Accent on background3.29:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background11.73:1AAA pass 4.5:1
Text on surface10.77:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.79:1AA pass 4.5:1
Label on accent5.70:1AA pass 4.5:1
Primary on background3.31:1AA Large pass 3:1
Accent on background3.37: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#4A148C (Text 1)#7B1FA2 (Text 2)#9C27B0 (Text 3)#BA68C8 (Text 4)#E1BEE7 (Text 5)
#4A148CSame color1.45—1.88—3.33AA Large7.19AAA
#7B1FA21.45—Same color1.30—2.31—4.97AA
#9C27B01.88—1.30—Same color1.77—3.82AA Large
#BA68C83.33AA Large2.31—1.77—Same color2.16—
#E1BEE77.19AAA4.97AA3.82AA Large2.16—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4A148C#7B1FA2#9C27B0#BA68C8#E1BEE7

Variations

About Galaxy Purple

Galaxy Purple brings together a dark purple, two vivid purples, a purple and a light purple (#4A148C, #7B1FA2, #9C27B0, #BA68C8, #E1BEE7) in a cool, purple-led scheme. All hues sit within 25° of each other, so dark purple #4A148C and its relatives form a cohesive monochromatic scheme. With lightness between 36% and 84% and #9C27B0 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.164, high for a palette, so the colors feel saturated and energetic; the most saturated color is #9C27B0. Text contrast reaches 10.4:1 in light mode and 11.7:1 in dark mode, with #9C27B0 as primary and #9E7DA3 as accent. With #9C27B0 leading, good fits include music and nightlife, premium products and beauty brands.

Galaxy Purple color palette: #4A148C, #7B1FA2, #9C27B0, #BA68C8, #E1BEE7
Share image for Galaxy Purple

Gradients in similar colors