Export

Code

/* Witching Hour — colorset.net */
:root {
  --color-1: #15101F;
  --color-2: #7B3FE4;
  --color-3: #F28C28;
  --color-4: #2C2140;
  --color-5: #EDE6F5;

  --color-bg: #EDE6F5;
  --color-surface: #F3EFF8;
  --color-border: #D5CDDF;
  --color-text: #15101F;
  --color-muted: #666073;
  --color-primary: #7B3FE4;
  --color-on-primary: #FFFFFF;
  --color-accent: #B26100;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #15101F;
    --color-surface: #1F1A2A;
    --color-border: #342E42;
    --color-text: #EDE6F5;
    --color-muted: #8A8391;
    --color-primary: #7E43E8;
    --color-on-primary: #FFFFFF;
    --color-accent: #F28C28;
    --color-on-accent: #15101F;
  }
}

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
Backgroundfrom palette · color 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #7B3FE4
On primaryderivedderived
Accentadjusted for contrast · from #F28C28from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.31:1AAA pass 4.5:1
Text on surface16.44:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary5.72:1AA pass 4.5:1
Label on accent4.56:1AA pass 4.5:1
Primary on background4.69:1AA pass 3:1
Accent on background3.75:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.31:1AAA pass 4.5:1
Text on surface13.91:1AAA pass 4.5:1
Muted text on background5.10:1AA pass 4.5:1
Label on primary5.45:1AA pass 4.5:1
Label on accent7.60:1AAA pass 4.5:1
Primary on background3.42:1AA Large pass 3:1
Accent on background7.60: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#15101F (Text 1)#7B3FE4 (Text 2)#F28C28 (Text 3)#2C2140 (Text 4)#EDE6F5 (Text 5)
#15101FSame color3.26AA Large7.60AAA1.24—15.31AAA
#7B3FE43.26AA LargeSame color2.33—2.63—4.69AA
#F28C287.60AAA2.33—Same color6.12AA2.01—
#2C21401.24—2.63—6.12AASame color12.32AAA
#EDE6F515.31AAA4.69AA2.01—12.32AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#15101F#7B3FE4#F28C28#2C2140#EDE6F5

Variations

About Witching Hour

Midnight violet with a jack-o'-lantern glow. Witching Hour is a balanced purple-and-orange palette of 5 colors that runs from cream #EDE6F5 to near-black #15101F. The hues range across 125° of the wheel, pairing vivid purple #7B3FE4 with orange for lively contrast. Lightness runs from 19% to 93% (OKLCH), with #7B3FE4 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is medium (mean OKLCH chroma 0.101, peaking at 0.232 in #7B3FE4); the colors are clear without being loud. As a UI theme it uses #7B3FE4 for primary actions and #B26100 as the accent; dark mode sits on #15101F with #EDE6F5 text (15.3:1). Try it for signage, presentation slides and accessible interfaces, letting vivid purple #7B3FE4 carry the key actions.

Witching Hour color palette: #15101F, #7B3FE4, #F28C28, #2C2140, #EDE6F5
Share image for Witching Hour

Gradients in similar colors