← All gradients
35%How it works
Curated

Moonstone

#F4F8FF
#C9D6EA
#9AA9C7
Text readability
Curated CoolPastel

Moonstone is a cool and pastel 3-colour linear gradient that runs from off-white (#F4F8FF) through light grey (#C9D6EA) to light blue (#9AA9C7) at 150°. 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 13.8:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(150deg, #F4F8FF, #C9D6EA, #9AA9C7);
Tailwind
bg-[linear-gradient(150deg,#F4F8FF,#C9D6EA,#9AA9C7)]
Figma token
{
    "moonstone": {
        "value": "linear-gradient(150deg, #F4F8FF 0%, #C9D6EA 50%, #9AA9C7 100%)",
        "type": "color"
    }
}

Moonstone gradient for SwiftUI, Flutter, Android and more

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

let moonstoneGradient = LinearGradient(
    colors: [
        Color(red: 0.957, green: 0.973, blue: 1),
        Color(red: 0.788, green: 0.839, blue: 0.918),
        Color(red: 0.604, green: 0.663, blue: 0.78)
    ],
    startPoint: UnitPoint(x: 0.212, y: 0),
    endPoint: UnitPoint(x: 0.789, y: 1)
)

// Usage
Rectangle().fill(moonstoneGradient)

Colours in the Moonstone gradient

StopNameHEXRGBHSL
1Off-white#F4F8FFrgb(244, 248, 255)hsl(218, 100%, 98%)
2Light grey#C9D6EArgb(201, 214, 234)hsl(216, 44%, 85%)
3Light blue#9AA9C7rgb(154, 169, 199)hsl(220, 29%, 69%)

Moonstone gradient in use

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

Moonstone 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 Moonstone gradient?

The Moonstone gradient uses 3 colours: #F4F8FF, #C9D6EA and #9AA9C7, at an angle of 150°.

How do I use the Moonstone gradient in CSS?

Paste background: linear-gradient(150deg, #F4F8FF, #C9D6EA, #9AA9C7); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Moonstone gradient?

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