← All gradients
35%How it works
Nubank ↗

Nubank Gradient

#C17BFF
#820AD1
Text readability
Brand CoolBold Finance

Nubank Gradient is a cool and bold 2-colour linear gradient that runs from light purple (#C17BFF) to purple (#820AD1) at 135°. It is inspired by Nubank’s brand colours, a reference point for finance interfaces. White text reads best on it, at a contrast ratio of 4.7:1 against the gradient’s average colour (AA). Check every point, not just the average →

Unofficial reference: inspired by Nubank’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Nubank. Nubank is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Nubank’s. Terms

CSS
background: linear-gradient(135deg, #C17BFF, #820AD1);
Tailwind
bg-gradient-to-br from-[#C17BFF] to-[#820AD1]
Figma token
{
    "nubank": {
        "value": "linear-gradient(135deg, #C17BFF 0%, #820AD1 100%)",
        "type": "color"
    }
}

Nubank Gradient for SwiftUI, Flutter, Android and more

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

let nubankGradient = LinearGradient(
    colors: [
        Color(red: 0.757, green: 0.482, blue: 1),
        Color(red: 0.51, green: 0.039, blue: 0.82)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(nubankGradient)

Colours in the Nubank Gradient

StopNameHEXRGBHSL
1Light purple#C17BFFrgb(193, 123, 255)hsl(272, 100%, 74%)
2Purple#820AD1rgb(130, 10, 209)hsl(276, 91%, 43%)

Nubank Gradient in use

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

Nubank 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 Nubank Gradient?

The Nubank Gradient uses 2 colours: #C17BFF and #820AD1, at an angle of 135°.

How do I use the Nubank Gradient in CSS?

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

What text colour works on the Nubank Gradient?

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