← All gradients
35%How it works
Curated

Lo-fi Sunset

#FA8BFF
#2BD2FF
#2BFF88
Text readability
Curated BoldNeonCool

Lo-fi Sunset is a bold, neon and cool 3-colour linear gradient that runs from light purple (#FA8BFF) through teal (#2BD2FF) to green (#2BFF88) at 45°. It suits banners and attention-grabbing headers and gaming, music and nightlife designs. Black text reads best on it, at a contrast ratio of 11.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(45deg, #FA8BFF, #2BD2FF, #2BFF88);
Tailwind
bg-gradient-to-tr from-[#FA8BFF] via-[#2BD2FF] to-[#2BFF88]
Figma token
{
    "lo-fi-sunset": {
        "value": "linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 50%, #2BFF88 100%)",
        "type": "color"
    }
}

Lo-fi Sunset gradient for SwiftUI, Flutter, Android and more

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

let loFiSunsetGradient = LinearGradient(
    colors: [
        Color(red: 0.98, green: 0.545, blue: 1),
        Color(red: 0.169, green: 0.824, blue: 1),
        Color(red: 0.169, green: 1, blue: 0.533)
    ],
    startPoint: UnitPoint(x: 0, y: 1),
    endPoint: UnitPoint(x: 1, y: 0)
)

// Usage
Rectangle().fill(loFiSunsetGradient)

Colours in the Lo-fi Sunset gradient

StopNameHEXRGBHSL
1Light purple#FA8BFFrgb(250, 139, 255)hsl(297, 100%, 77%)
2Teal#2BD2FFrgb(43, 210, 255)hsl(193, 100%, 58%)
3Green#2BFF88rgb(43, 255, 136)hsl(146, 100%, 58%)

Lo-fi Sunset gradient in use

Build something beautifulA hero section on the Lo-fi Sunset gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Lo-fi Sunset 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 Lo-fi Sunset gradient?

The Lo-fi Sunset gradient uses 3 colours: #FA8BFF, #2BD2FF and #2BFF88, at an angle of 45°.

How do I use the Lo-fi Sunset gradient in CSS?

Paste background: linear-gradient(45deg, #FA8BFF, #2BD2FF, #2BFF88); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Lo-fi Sunset gradient?

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