Export

Code

/* Violet Hour — colorset.net */
:root {
  --color-1: #151024;
  --color-2: #A87EEB;
  --color-3: #F4B581;
  --color-4: #3B3058;
  --color-5: #F0ECF7;

  --color-bg: #F0ECF7;
  --color-surface: #F7F4FB;
  --color-border: #D8D3E1;
  --color-text: #151024;
  --color-muted: #67627B;
  --color-primary: #8A5FC9;
  --color-on-primary: #FFFFFF;
  --color-accent: #A26835;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #151024;
    --color-surface: #1F1A2F;
    --color-border: #342F46;
    --color-text: #F0ECF7;
    --color-muted: #8B8791;
    --color-primary: #A87EEB;
    --color-on-primary: #151024;
    --color-accent: #F4B581;
    --color-on-accent: #151024;
  }
}

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
Primaryadjusted for contrast · from #A87EEBfrom palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #F4B581from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.95:1AAA pass 4.5:1
Text on surface17.05:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.60:1AA pass 4.5:1
Label on accent4.60:1AA pass 4.5:1
Primary on background3.96:1AA Large pass 3:1
Accent on background3.95:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.95:1AAA pass 4.5:1
Text on surface14.47:1AAA pass 4.5:1
Muted text on background5.28:1AA pass 4.5:1
Label on primary6.05:1AA pass 4.5:1
Label on accent10.41:1AAA pass 4.5:1
Primary on background6.05:1AA pass 3:1
Accent on background10.41: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#151024 (Text 1)#A87EEB (Text 2)#F4B581 (Text 3)#3B3058 (Text 4)#F0ECF7 (Text 5)
#151024Same color6.05AA10.41AAA1.55—15.95AAA
#A87EEB6.05AASame color1.72—3.91AA Large2.63—
#F4B58110.41AAA1.72—Same color6.73AA1.53—
#3B30581.55—3.91AA Large6.73AASame color10.31AAA
#F0ECF715.95AAA2.63—1.53—10.31AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#151024#A87EEB#F4B581#3B3058#F0ECF7

Variations

About Violet Hour

Dusky violet with a peach glow, like the last light over a city skyline. Violet Hour is a cool purple palette of 5 colors that runs from off-white #F0ECF7 to deep purple #151024. The hues range across 127° of the wheel, pairing deep purple #151024 with light orange for lively contrast. Lightness runs from 19% to 95% (OKLCH), with #A87EEB in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.077, peaking at 0.160 in #A87EEB); the colors feel soft and muted. Text contrast reaches 15.9:1 in light mode and 15.9:1 in dark mode, with #8A5FC9 as primary and #A26835 as accent. Its high-contrast character, led by #A87EEB, suits signage, presentation slides and accessible interfaces.

Violet Hour color palette: #151024, #A87EEB, #F4B581, #3B3058, #F0ECF7
Share image for Violet Hour

Gradients in similar colors