Malibu to Pan Purple Gradient
CSS
background: linear-gradient(90deg, #66b7e1 0%, #657aef 100%);
Edit this gradient in the generator → Change the angle, add colors or switch to radial.
From Malibu (#66B7E1) to Pan Purple (#657AEF). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Malibu | #66B7E1 | 102, 183, 225 | 200°, 67%, 64% | 55, 19, 0, 12 | 74.4% 0.100 233 | |
| 25% (near Windjammer) | #66A8E5 | 102, 168, 229 | 209°, 71%, 65% | 55, 27, 0, 10 | 71.2% 0.112 248 | |
| 50% (near Cornflower Blue) | #6699E8 | 102, 153, 232 | 216°, 74%, 65% | 56, 34, 0, 9 | 68.1% 0.130 259 | |
| 75% (near Cornflower Blue) | #6589EC | 101, 137, 236 | 224°, 78%, 66% | 57, 42, 0, 7 | 65.0% 0.153 267 | |
| Pan Purple | #657AEF | 101, 122, 239 | 231°, 81%, 67% | 58, 49, 0, 6 | 62.2% 0.176 273 |
Halfway along, the gradient is #6699E8, closest to the named color Cornflower Blue. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.69:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #66b7e1, #657aef) - Diagonal:
linear-gradient(135deg, #66b7e1, #657aef) - Radial, from the center out:
radial-gradient(circle, #66b7e1, #657aef) - Tailwind CSS:
bg-gradient-to-r from-[#66b7e1] to-[#657aef]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Malibu to Pan Purple gradient?
It starts at #66B7E1 (Malibu) and ends at #657AEF (Pan Purple), with #6699E8 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #66b7e1, #657aef) runs from Pan Purple on the left to Malibu on the right.