#F5F3FF
#EDE9FE
#DDD6FE
Subscription Card is a cool and pastel 3-colour linear gradient that runs from off-white (#F5F3FF) through 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 17.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #F5F3FF, #EDE9FE, #DDD6FE);
bg-gradient-to-br from-[#F5F3FF] via-[#EDE9FE] to-[#DDD6FE]
{
"subscription-card": {
"value": "linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 50%, #DDD6FE 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let subscriptionCardGradient = LinearGradient(
colors: [
Color(red: 0.961, green: 0.953, blue: 1),
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(subscriptionCardGradient)val subscriptionCardColors = listOf(Color(0xFFF5F3FF), Color(0xFFEDE9FE), Color(0xFFDDD6FE))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = subscriptionCardColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/subscription-card_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F5F3FF"
android:centerColor="#EDE9FE"
android:endColor="#DDD6FE"
android:type="linear" />
</shape>const subscriptionCardGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFF5F3FF), Color(0xFFEDE9FE), Color(0xFFDDD6FE)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: subscriptionCardGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F5F3FF', '#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="subscription-card" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#F5F3FF" />
<stop offset="50%" stop-color="#EDE9FE" />
<stop offset="100%" stop-color="#DDD6FE" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#subscription-card)" />
</svg>:root {
--subscription-card-1: #F5F3FF;
--subscription-card-2: #EDE9FE;
--subscription-card-3: #DDD6FE;
--subscription-card-angle: 135deg;
--subscription-card: linear-gradient(var(--subscription-card-angle), var(--subscription-card-1), var(--subscription-card-2), var(--subscription-card-3));
}
.hero {
background: var(--subscription-card);
}$subscription-card-1: #F5F3FF;
$subscription-card-2: #EDE9FE;
$subscription-card-3: #DDD6FE;
$subscription-card: linear-gradient(135deg, $subscription-card-1, $subscription-card-2, $subscription-card-3);
@mixin subscription-card-bg {
background: $subscription-card-1;
background: $subscription-card;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #F5F3FF | rgb(245, 243, 255) | hsl(250, 100%, 98%) |
| 2 | Off-white | #EDE9FE | rgb(237, 233, 254) | hsl(251, 91%, 95%) |
| 3 | Pale blue | #DDD6FE | rgb(221, 214, 254) | hsl(251, 95%, 92%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Subscription Card gradient uses 3 colours: #F5F3FF, #EDE9FE and #DDD6FE, at an angle of 135°.
Paste background: linear-gradient(135deg, #F5F3FF, #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 17.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.