← All gradients
35%How it works
UI

Subscription Card

#F5F3FF
#EDE9FE
#DDD6FE
Text readability
Ui CoolPastel

Subscription Card is a cool and pastel 3-colour linear gradient that runs from off-white (#F5F3FF) through 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 17.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →

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

Subscription Card gradient for SwiftUI, Flutter, Android and more

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

let subscriptionCardGradient = LinearGradient(
    colors: [
        Color(red: 0.961, green: 0.953, blue: 1),
        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(subscriptionCardGradient)

Colours in the Subscription Card gradient

StopNameHEXRGBHSL
1Off-white#F5F3FFrgb(245, 243, 255)hsl(250, 100%, 98%)
2Off-white#EDE9FErgb(237, 233, 254)hsl(251, 91%, 95%)
3Pale blue#DDD6FErgb(221, 214, 254)hsl(251, 95%, 92%)

Subscription Card gradient in use

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

Subscription Card 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 Subscription Card gradient?

The Subscription Card gradient uses 3 colours: #F5F3FF, #EDE9FE and #DDD6FE, at an angle of 135°.

How do I use the Subscription Card gradient in CSS?

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

What text colour works on the Subscription Card gradient?

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