Malibu to Pan Purple Gradient
CSS
background: linear-gradient(90deg, #66b7e1 0%, #657aef 100%);
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 | |
|---|---|---|---|---|---|
| Malibu | #66B7E1 | 102, 183, 225 | 200°, 67%, 64% | 55, 19, 0, 12 | |
| 25% (near Windjammer) | #66A8E5 | 102, 168, 229 | 209°, 71%, 65% | 55, 27, 0, 10 | |
| 50% (near Windjammer) | #6699E8 | 102, 153, 232 | 216°, 74%, 65% | 56, 34, 0, 9 | |
| 75% (near Pan Purple) | #6589EC | 101, 137, 236 | 224°, 78%, 66% | 57, 42, 0, 7 | |
| Pan Purple | #657AEF | 101, 122, 239 | 231°, 81%, 67% | 58, 49, 0, 6 |
Halfway along, the gradient is #6699E8, closest to the named color Windjammer. 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.