← All gradients
35%How it works
UI

Mesh Purple

#7C3AED
#EC4899
#F59E0B
Text readability
Ui WarmBold

Mesh Purple is a warm and bold 3-colour linear gradient that runs from purple (#7C3AED) through pink (#EC4899) to orange (#F59E0B) at 45°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 5.5:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(45deg, #7C3AED, #EC4899, #F59E0B);
Tailwind
bg-gradient-to-tr from-[#7C3AED] via-[#EC4899] to-[#F59E0B]
Figma token
{
    "mesh-purple": {
        "value": "linear-gradient(45deg, #7C3AED 0%, #EC4899 50%, #F59E0B 100%)",
        "type": "color"
    }
}

Mesh Purple gradient for SwiftUI, Flutter, Android and more

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

let meshPurpleGradient = LinearGradient(
    colors: [
        Color(red: 0.486, green: 0.227, blue: 0.929),
        Color(red: 0.925, green: 0.282, blue: 0.6),
        Color(red: 0.961, green: 0.62, blue: 0.043)
    ],
    startPoint: UnitPoint(x: 0, y: 1),
    endPoint: UnitPoint(x: 1, y: 0)
)

// Usage
Rectangle().fill(meshPurpleGradient)

Colours in the Mesh Purple gradient

StopNameHEXRGBHSL
1Purple#7C3AEDrgb(124, 58, 237)hsl(262, 83%, 58%)
2Pink#EC4899rgb(236, 72, 153)hsl(330, 81%, 60%)
3Orange#F59E0Brgb(245, 158, 11)hsl(38, 92%, 50%)

Mesh Purple gradient in use

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

Mesh Purple 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 Mesh Purple gradient?

The Mesh Purple gradient uses 3 colours: #7C3AED, #EC4899 and #F59E0B, at an angle of 45°.

How do I use the Mesh Purple gradient in CSS?

Paste background: linear-gradient(45deg, #7C3AED, #EC4899, #F59E0B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Mesh Purple gradient?

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