#EDE9FE
#DDD6FE
Badge Purple is a cool and pastel 2-colour linear gradient that runs from off-white (#EDE9FE) to pale blue (#DDD6FE) 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 16.4:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
bg-gradient-to-br from-[#EDE9FE] to-[#DDD6FE]
{
"badge-purple": {
"value": "linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let badgePurpleGradient = LinearGradient(
colors: [
Color(red: 0.929, green: 0.914, blue: 0.996),
Color(red: 0.867, green: 0.839, blue: 0.996)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(badgePurpleGradient)val badgePurpleColors = listOf(Color(0xFFEDE9FE), Color(0xFFDDD6FE))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = badgePurpleColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/badge-purple_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#EDE9FE"
android:endColor="#DDD6FE"
android:type="linear" />
</shape>const badgePurpleGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFEDE9FE), Color(0xFFDDD6FE)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: badgePurpleGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#EDE9FE', '#DDD6FE']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="badge-purple" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#EDE9FE" />
<stop offset="100%" stop-color="#DDD6FE" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#badge-purple)" />
</svg>:root {
--badge-purple-1: #EDE9FE;
--badge-purple-2: #DDD6FE;
--badge-purple-angle: 135deg;
--badge-purple: linear-gradient(var(--badge-purple-angle), var(--badge-purple-1), var(--badge-purple-2));
}
.hero {
background: var(--badge-purple);
}$badge-purple-1: #EDE9FE;
$badge-purple-2: #DDD6FE;
$badge-purple: linear-gradient(135deg, $badge-purple-1, $badge-purple-2);
@mixin badge-purple-bg {
background: $badge-purple-1;
background: $badge-purple;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #EDE9FE | rgb(237, 233, 254) | hsl(251, 91%, 95%) |
| 2 | Pale blue | #DDD6FE | rgb(221, 214, 254) | hsl(251, 95%, 92%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Badge Purple gradient uses 2 colours: #EDE9FE and #DDD6FE, at an angle of 135°.
Paste background: linear-gradient(135deg, #EDE9FE, #DDD6FE); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 16.4:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.