Canva Gradient is a cool and bold 2-colour linear gradient that runs from purple (#7D2AE8) to teal (#00C4CC) at 135°. It is inspired by Canva’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 4.9:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by Canva’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Canva. Canva is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Canva’s. Terms
background: linear-gradient(135deg, #7D2AE8, #00C4CC);
bg-gradient-to-br from-[#7D2AE8] to-[#00C4CC]
{
"canva": {
"value": "linear-gradient(135deg, #7D2AE8 0%, #00C4CC 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let canvaGradient = LinearGradient(
colors: [
Color(red: 0.49, green: 0.165, blue: 0.91),
Color(red: 0, green: 0.769, blue: 0.8)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(canvaGradient)val canvaColors = listOf(Color(0xFF7D2AE8), Color(0xFF00C4CC))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = canvaColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/canva_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#7D2AE8"
android:endColor="#00C4CC"
android:type="linear" />
</shape>const canvaGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF7D2AE8), Color(0xFF00C4CC)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: canvaGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#7D2AE8', '#00C4CC']}
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="canva" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#7D2AE8" />
<stop offset="100%" stop-color="#00C4CC" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#canva)" />
</svg>:root {
--canva-1: #7D2AE8;
--canva-2: #00C4CC;
--canva-angle: 135deg;
--canva: linear-gradient(var(--canva-angle), var(--canva-1), var(--canva-2));
}
.hero {
background: var(--canva);
}$canva-1: #7D2AE8;
$canva-2: #00C4CC;
$canva: linear-gradient(135deg, $canva-1, $canva-2);
@mixin canva-bg {
background: $canva-1;
background: $canva;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Purple | #7D2AE8 | rgb(125, 42, 232) | hsl(266, 81%, 54%) |
| 2 | Teal | #00C4CC | rgb(0, 196, 204) | hsl(182, 100%, 40%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Canva Gradient uses 2 colours: #7D2AE8 and #00C4CC, at an angle of 135°.
Paste background: linear-gradient(135deg, #7D2AE8, #00C4CC); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 4.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.