← All gradients
35%How it works
UI

Empty State

#F8FAFC
#F1F5F9
Text readability
Ui NeutralPastel

Empty State is a neutral and pastel 2-colour linear gradient that runs from off-white (#F8FAFC) to off-white (#F1F5F9) at 180°. It suits subtle surfaces and app backgrounds and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 19.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
Tailwind
bg-gradient-to-b from-[#F8FAFC] to-[#F1F5F9]
Figma token
{
    "empty-state": {
        "value": "linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%)",
        "type": "color"
    }
}

Empty State gradient for SwiftUI, Flutter, Android and more

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

let emptyStateGradient = LinearGradient(
    colors: [
        Color(red: 0.973, green: 0.98, blue: 0.988),
        Color(red: 0.945, green: 0.961, blue: 0.976)
    ],
    startPoint: UnitPoint(x: 0.5, y: 0),
    endPoint: UnitPoint(x: 0.5, y: 1)
)

// Usage
Rectangle().fill(emptyStateGradient)

Colours in the Empty State gradient

StopNameHEXRGBHSL
1Off-white#F8FAFCrgb(248, 250, 252)hsl(210, 40%, 98%)
2Off-white#F1F5F9rgb(241, 245, 249)hsl(210, 40%, 96%)

Empty State gradient in use

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

Empty State 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 Empty State gradient?

The Empty State gradient uses 2 colours: #F8FAFC and #F1F5F9, at an angle of 180°.

How do I use the Empty State gradient in CSS?

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

What text colour works on the Empty State gradient?

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