#A855F7
#9333EA
Progress Bar Purple is a cool and bold 2-colour linear gradient that runs from light purple (#A855F7) to purple (#9333EA) at 90°. It suits dashboards and SaaS landing pages and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 4.6:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(90deg, #A855F7, #9333EA);
bg-gradient-to-r from-[#A855F7] to-[#9333EA]
{
"progress-bar-purple": {
"value": "linear-gradient(90deg, #A855F7 0%, #9333EA 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let progressBarPurpleGradient = LinearGradient(
colors: [
Color(red: 0.659, green: 0.333, blue: 0.969),
Color(red: 0.576, green: 0.2, blue: 0.918)
],
startPoint: UnitPoint(x: 0, y: 0.5),
endPoint: UnitPoint(x: 1, y: 0.5)
)
// Usage
Rectangle().fill(progressBarPurpleGradient)val progressBarPurpleColors = listOf(Color(0xFFA855F7), Color(0xFF9333EA))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = progressBarPurpleColors,
start = Offset(size.width * 0f, size.height * 0.5f),
end = Offset(size.width * 1f, size.height * 0.5f)
)
)
}<!-- res/drawable/progress-bar-purple_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="0"
android:startColor="#A855F7"
android:endColor="#9333EA"
android:type="linear" />
</shape>const progressBarPurpleGradient = LinearGradient(
begin: Alignment(-1, 0),
end: Alignment(1, 0),
colors: [Color(0xFFA855F7), Color(0xFF9333EA)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: progressBarPurpleGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#A855F7', '#9333EA']}
start={{ x: 0, y: 0.5 }}
end={{ x: 1, y: 0.5 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="progress-bar-purple" x1="0" y1="0.5" x2="1" y2="0.5">
<stop offset="0%" stop-color="#A855F7" />
<stop offset="100%" stop-color="#9333EA" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#progress-bar-purple)" />
</svg>:root {
--progress-bar-purple-1: #A855F7;
--progress-bar-purple-2: #9333EA;
--progress-bar-purple-angle: 90deg;
--progress-bar-purple: linear-gradient(var(--progress-bar-purple-angle), var(--progress-bar-purple-1), var(--progress-bar-purple-2));
}
.hero {
background: var(--progress-bar-purple);
}$progress-bar-purple-1: #A855F7;
$progress-bar-purple-2: #9333EA;
$progress-bar-purple: linear-gradient(90deg, $progress-bar-purple-1, $progress-bar-purple-2);
@mixin progress-bar-purple-bg {
background: $progress-bar-purple-1;
background: $progress-bar-purple;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light purple | #A855F7 | rgb(168, 85, 247) | hsl(271, 91%, 65%) |
| 2 | Purple | #9333EA | rgb(147, 51, 234) | hsl(271, 81%, 56%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Progress Bar Purple gradient uses 2 colours: #A855F7 and #9333EA, at an angle of 90°.
Paste background: linear-gradient(90deg, #A855F7, #9333EA); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 4.6:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.