#E6FFF8
#A8C3F0
#F7C6E0
Opal is a cool and pastel 3-colour linear gradient that runs from off-white (#E6FFF8) through pale blue (#A8C3F0) to pale pink (#F7C6E0) at 120°. 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 14.9:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(120deg, #E6FFF8, #A8C3F0, #F7C6E0);
bg-[linear-gradient(120deg,#E6FFF8,#A8C3F0,#F7C6E0)]
{
"opal": {
"value": "linear-gradient(120deg, #E6FFF8 0%, #A8C3F0 50%, #F7C6E0 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let opalGradient = LinearGradient(
colors: [
Color(red: 0.902, green: 1, blue: 0.973),
Color(red: 0.659, green: 0.765, blue: 0.941),
Color(red: 0.969, green: 0.776, blue: 0.878)
],
startPoint: UnitPoint(x: 0, y: 0.212),
endPoint: UnitPoint(x: 1, y: 0.789)
)
// Usage
Rectangle().fill(opalGradient)val opalColors = listOf(Color(0xFFE6FFF8), Color(0xFFA8C3F0), Color(0xFFF7C6E0))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = opalColors,
start = Offset(size.width * 0f, size.height * 0.212f),
end = Offset(size.width * 1f, size.height * 0.789f)
)
)
}<!-- res/drawable/opal_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#E6FFF8"
android:centerColor="#A8C3F0"
android:endColor="#F7C6E0"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 120deg in CSS is 330°, rounded to 315°. -->const opalGradient = LinearGradient(
begin: Alignment(-1, -0.577),
end: Alignment(1, 0.577),
colors: [Color(0xFFE6FFF8), Color(0xFFA8C3F0), Color(0xFFF7C6E0)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: opalGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#E6FFF8', '#A8C3F0', '#F7C6E0']}
start={{ x: 0, y: 0.212 }}
end={{ x: 1, y: 0.789 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="opal" x1="0" y1="0.212" x2="1" y2="0.789">
<stop offset="0%" stop-color="#E6FFF8" />
<stop offset="50%" stop-color="#A8C3F0" />
<stop offset="100%" stop-color="#F7C6E0" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#opal)" />
</svg>:root {
--opal-1: #E6FFF8;
--opal-2: #A8C3F0;
--opal-3: #F7C6E0;
--opal-angle: 120deg;
--opal: linear-gradient(var(--opal-angle), var(--opal-1), var(--opal-2), var(--opal-3));
}
.hero {
background: var(--opal);
}$opal-1: #E6FFF8;
$opal-2: #A8C3F0;
$opal-3: #F7C6E0;
$opal: linear-gradient(120deg, $opal-1, $opal-2, $opal-3);
@mixin opal-bg {
background: $opal-1;
background: $opal;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #E6FFF8 | rgb(230, 255, 248) | hsl(163, 100%, 95%) |
| 2 | Pale blue | #A8C3F0 | rgb(168, 195, 240) | hsl(218, 71%, 80%) |
| 3 | Pale pink | #F7C6E0 | rgb(247, 198, 224) | hsl(328, 75%, 87%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Opal gradient uses 3 colours: #E6FFF8, #A8C3F0 and #F7C6E0, at an angle of 120°.
Paste background: linear-gradient(120deg, #E6FFF8, #A8C3F0, #F7C6E0); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 14.9:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.