Export

Code

/* Purple Night — colorset.net */
:root {
  --color-1: #1A0B3D;
  --color-2: #4C1D95;
  --color-3: #7C3AED;
  --color-4: #A855F7;
  --color-5: #C084FC;

  --color-bg: #F9F4FF;
  --color-surface: #F1EAF9;
  --color-border: #D9D1E2;
  --color-text: #1A0B3D;
  --color-muted: #6B6882;
  --color-primary: #7C3AED;
  --color-on-primary: #FFFFFF;
  --color-accent: #9458CC;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0C1D;
    --color-surface: #191628;
    --color-border: #2D2A41;
    --color-text: #AC9EBF;
    --color-muted: #897D97;
    --color-primary: #7C3AED;
    --color-on-primary: #FFFFFF;
    --color-accent: #685F99;
    --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 #C084FCadjusted for contrast · from #1A0B3D
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #C084FC
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #A855F7adjusted for contrast · from #7C3AED
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.75:1AAA pass 4.5:1
Text on surface15.42:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent4.64:1AA pass 4.5:1
Primary on background5.27:1AA pass 3:1
Accent on background4.29:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.70:1AAA pass 4.5:1
Text on surface7.08:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent5.70:1AA pass 4.5:1
Primary on background3.38:1AA Large pass 3:1
Accent on background3.38: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#1A0B3D (Text 1)#4C1D95 (Text 2)#7C3AED (Text 3)#A855F7 (Text 4)#C084FC (Text 5)
#1A0B3DSame color1.65—3.18AA Large4.58AA6.86AA
#4C1D951.65—Same color1.92—2.77—4.15AA Large
#7C3AED3.18AA Large1.92—Same color1.44—2.16—
#A855F74.58AA2.77—1.44—Same color1.50—
#C084FC6.86AA4.15AA Large2.16—1.50—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1A0B3D#4C1D95#7C3AED#A855F7#C084FC

Variations

About Purple Night

Purple Night is a cool purple palette of 5 colors that runs from vivid purple #C084FC to deep purple #1A0B3D. With a hue spread of just 15°, it is effectively monochromatic: #1A0B3D, #4C1D95 and #7C3AED differ mostly in lightness. Lightness spans 21% (#1A0B3D) to 72% (#C084FC), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.185, peaking at 0.247 in #7C3AED); the colors feel saturated and energetic. As a UI theme it uses #7C3AED for primary actions and #9458CC as the accent; dark mode sits on #0F0C1D with #AC9EBF text (7.7:1). Try it for creative studios, beauty brands and typography-led layouts, letting vivid purple #7C3AED carry the key actions.

Purple Night color palette: #1A0B3D, #4C1D95, #7C3AED, #A855F7, #C084FC
Share image for Purple Night

Gradients in similar colors