← All gradients
35%How it works
Curated

Opal

#E6FFF8
#A8C3F0
#F7C6E0
Text readability
Curated CoolPastel

Opal is a cool and pastel 3-colour linear gradient that runs from off-white (#E6FFF8) through pale blue (#A8C3F0) to pale pink (#F7C6E0) at 120°. 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 14.9:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(120deg, #E6FFF8, #A8C3F0, #F7C6E0);
Tailwind
bg-[linear-gradient(120deg,#E6FFF8,#A8C3F0,#F7C6E0)]
Figma token
{
    "opal": {
        "value": "linear-gradient(120deg, #E6FFF8 0%, #A8C3F0 50%, #F7C6E0 100%)",
        "type": "color"
    }
}

Opal gradient for SwiftUI, Flutter, Android and more

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

let opalGradient = LinearGradient(
    colors: [
        Color(red: 0.902, green: 1, blue: 0.973),
        Color(red: 0.659, green: 0.765, blue: 0.941),
        Color(red: 0.969, green: 0.776, blue: 0.878)
    ],
    startPoint: UnitPoint(x: 0, y: 0.212),
    endPoint: UnitPoint(x: 1, y: 0.789)
)

// Usage
Rectangle().fill(opalGradient)

Colours in the Opal gradient

StopNameHEXRGBHSL
1Off-white#E6FFF8rgb(230, 255, 248)hsl(163, 100%, 95%)
2Pale blue#A8C3F0rgb(168, 195, 240)hsl(218, 71%, 80%)
3Pale pink#F7C6E0rgb(247, 198, 224)hsl(328, 75%, 87%)

Opal gradient in use

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

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

The Opal gradient uses 3 colours: #E6FFF8, #A8C3F0 and #F7C6E0, at an angle of 120°.

How do I use the Opal gradient in CSS?

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

What text colour works on the Opal gradient?

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