← All gradients
35%How it works
Seasonal

Halloween Spellbook

#3C096C
#9D4EDD
#FF9E00
Text readability
Seasonal WarmBold

Halloween Spellbook is a warm and bold 3-colour linear gradient that runs from deep purple (#3C096C) through purple (#9D4EDD) to orange (#FF9E00) at 135°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 5.4:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #3C096C, #9D4EDD, #FF9E00);
Tailwind
bg-gradient-to-br from-[#3C096C] via-[#9D4EDD] to-[#FF9E00]
Figma token
{
    "halloween-spellbook": {
        "value": "linear-gradient(135deg, #3C096C 0%, #9D4EDD 50%, #FF9E00 100%)",
        "type": "color"
    }
}

Halloween Spellbook gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let halloweenSpellbookGradient = LinearGradient(
    colors: [
        Color(red: 0.235, green: 0.035, blue: 0.424),
        Color(red: 0.616, green: 0.306, blue: 0.867),
        Color(red: 1, green: 0.62, blue: 0)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(halloweenSpellbookGradient)

Colours in the Halloween Spellbook gradient

StopNameHEXRGBHSL
1Deep purple#3C096Crgb(60, 9, 108)hsl(271, 85%, 23%)
2Purple#9D4EDDrgb(157, 78, 221)hsl(273, 68%, 59%)
3Orange#FF9E00rgb(255, 158, 0)hsl(37, 100%, 50%)

Halloween Spellbook gradient in use

Build something beautifulA hero section on the Halloween Spellbook gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Halloween Spellbook gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Halloween Spellbook gradient?

The Halloween Spellbook gradient uses 3 colours: #3C096C, #9D4EDD and #FF9E00, at an angle of 135°.

How do I use the Halloween Spellbook gradient in CSS?

Paste background: linear-gradient(135deg, #3C096C, #9D4EDD, #FF9E00); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Halloween Spellbook gradient?

White text has the best contrast, at 5.4:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.