← All gradients
35%How it works
UI

Achievement Unlock

#7C3AED
#A855F7
#EC4899
Text readability
Ui BoldCool

Achievement Unlock is a bold and cool 3-colour linear gradient that runs from purple (#7C3AED) through light purple (#A855F7) to pink (#EC4899) at 45°. It suits banners and attention-grabbing headers and dashboards and SaaS landing pages. Black 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 →

CSS
background: linear-gradient(45deg, #7C3AED, #A855F7, #EC4899);
Tailwind
bg-gradient-to-tr from-[#7C3AED] via-[#A855F7] to-[#EC4899]
Figma token
{
    "achievement-unlock": {
        "value": "linear-gradient(45deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%)",
        "type": "color"
    }
}

Achievement Unlock gradient for SwiftUI, Flutter, Android and more

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

let achievementUnlockGradient = LinearGradient(
    colors: [
        Color(red: 0.486, green: 0.227, blue: 0.929),
        Color(red: 0.659, green: 0.333, blue: 0.969),
        Color(red: 0.925, green: 0.282, blue: 0.6)
    ],
    startPoint: UnitPoint(x: 0, y: 1),
    endPoint: UnitPoint(x: 1, y: 0)
)

// Usage
Rectangle().fill(achievementUnlockGradient)

Colours in the Achievement Unlock gradient

StopNameHEXRGBHSL
1Purple#7C3AEDrgb(124, 58, 237)hsl(262, 83%, 58%)
2Light purple#A855F7rgb(168, 85, 247)hsl(271, 91%, 65%)
3Pink#EC4899rgb(236, 72, 153)hsl(330, 81%, 60%)

Achievement Unlock gradient in use

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

Achievement Unlock 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 Achievement Unlock gradient?

The Achievement Unlock gradient uses 3 colours: #7C3AED, #A855F7 and #EC4899, at an angle of 45°.

How do I use the Achievement Unlock gradient in CSS?

Paste background: linear-gradient(45deg, #7C3AED, #A855F7, #EC4899); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Achievement Unlock gradient?

Black 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.