← All gradients
35%How it works
Curated

Ultra Violet

#654EA3
#EAAFC8
Text readability
Curated CoolPastel

Ultra Violet is a cool and pastel 2-colour linear gradient that runs from purple (#654EA3) to pale pink (#EAAFC8) at 135°. 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 6.3:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #654EA3, #EAAFC8);
Tailwind
bg-gradient-to-br from-[#654EA3] to-[#EAAFC8]
Figma token
{
    "ultra-violet": {
        "value": "linear-gradient(135deg, #654EA3 0%, #EAAFC8 100%)",
        "type": "color"
    }
}

Ultra Violet gradient for SwiftUI, Flutter, Android and more

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

let ultraVioletGradient = LinearGradient(
    colors: [
        Color(red: 0.396, green: 0.306, blue: 0.639),
        Color(red: 0.918, green: 0.686, blue: 0.784)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(ultraVioletGradient)

Colours in the Ultra Violet gradient

StopNameHEXRGBHSL
1Purple#654EA3rgb(101, 78, 163)hsl(256, 35%, 47%)
2Pale pink#EAAFC8rgb(234, 175, 200)hsl(335, 58%, 80%)

Ultra Violet gradient in use

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

Ultra Violet 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 Ultra Violet gradient?

The Ultra Violet gradient uses 2 colours: #654EA3 and #EAAFC8, at an angle of 135°.

How do I use the Ultra Violet gradient in CSS?

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

What text colour works on the Ultra Violet gradient?

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