← All gradients
35%How it works
UI

Badge Purple

#EDE9FE
#DDD6FE
Text readability
Ui CoolPastel

Badge Purple is a cool and pastel 2-colour linear gradient that runs from off-white (#EDE9FE) to pale blue (#DDD6FE) at 135°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 16.4:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
Tailwind
bg-gradient-to-br from-[#EDE9FE] to-[#DDD6FE]
Figma token
{
    "badge-purple": {
        "value": "linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%)",
        "type": "color"
    }
}

Badge Purple gradient for SwiftUI, Flutter, Android and more

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

let badgePurpleGradient = LinearGradient(
    colors: [
        Color(red: 0.929, green: 0.914, blue: 0.996),
        Color(red: 0.867, green: 0.839, blue: 0.996)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(badgePurpleGradient)

Colours in the Badge Purple gradient

StopNameHEXRGBHSL
1Off-white#EDE9FErgb(237, 233, 254)hsl(251, 91%, 95%)
2Pale blue#DDD6FErgb(221, 214, 254)hsl(251, 95%, 92%)

Badge Purple gradient in use

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

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

The Badge Purple gradient uses 2 colours: #EDE9FE and #DDD6FE, at an angle of 135°.

How do I use the Badge Purple gradient in CSS?

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

What text colour works on the Badge Purple gradient?

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