← All gradients
35%How it works
UI

Feature Highlight

#F5F3FF
#EDE9FE
Text readability
Ui CoolPastel

Feature Highlight is a cool and pastel 2-colour linear gradient that runs from off-white (#F5F3FF) to off-white (#EDE9FE) at 180°. 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 18.4:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(180deg, #F5F3FF, #EDE9FE);
Tailwind
bg-gradient-to-b from-[#F5F3FF] to-[#EDE9FE]
Figma token
{
    "feature-highlight": {
        "value": "linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 100%)",
        "type": "color"
    }
}

Feature Highlight gradient for SwiftUI, Flutter, Android and more

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

let featureHighlightGradient = LinearGradient(
    colors: [
        Color(red: 0.961, green: 0.953, blue: 1),
        Color(red: 0.929, green: 0.914, blue: 0.996)
    ],
    startPoint: UnitPoint(x: 0.5, y: 0),
    endPoint: UnitPoint(x: 0.5, y: 1)
)

// Usage
Rectangle().fill(featureHighlightGradient)

Colours in the Feature Highlight gradient

StopNameHEXRGBHSL
1Off-white#F5F3FFrgb(245, 243, 255)hsl(250, 100%, 98%)
2Off-white#EDE9FErgb(237, 233, 254)hsl(251, 91%, 95%)

Feature Highlight gradient in use

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

Feature Highlight 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 Feature Highlight gradient?

The Feature Highlight gradient uses 2 colours: #F5F3FF and #EDE9FE, at an angle of 180°.

How do I use the Feature Highlight gradient in CSS?

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

What text colour works on the Feature Highlight gradient?

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