Endless Horizon to Purple Illusion Gradient
CSS
background: linear-gradient(90deg, #b1dbf5 0%, #b8b8f8 100%);
From Endless Horizon (#B1DBF5) to Purple Illusion (#B8B8F8). The two hues are 37° 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 | |
|---|---|---|---|---|---|
| Endless Horizon | #B1DBF5 | 177, 219, 245 | 203°, 77%, 83% | 28, 11, 0, 4 | |
| 25% (near Endless Horizon) | #B3D2F6 | 179, 210, 246 | 212°, 79%, 83% | 27, 15, 0, 4 | |
| 50% (near Frost Fairy) | #B5CAF7 | 181, 202, 247 | 221°, 80%, 84% | 27, 18, 0, 3 | |
| 75% (near Purple Illusion) | #B6C1F7 | 182, 193, 247 | 230°, 80%, 84% | 26, 22, 0, 3 | |
| Purple Illusion | #B8B8F8 | 184, 184, 248 | 240°, 82%, 85% | 26, 26, 0, 3 |
Halfway along, the gradient is #B5CAF7, closest to the named color Frost Fairy. 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.27:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #b1dbf5, #b8b8f8) - Diagonal:
linear-gradient(135deg, #b1dbf5, #b8b8f8) - Radial, from the center out:
radial-gradient(circle, #b1dbf5, #b8b8f8) - Tailwind CSS:
bg-gradient-to-r from-[#b1dbf5] to-[#b8b8f8]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Endless Horizon to Purple Illusion gradient?
It starts at #B1DBF5 (Endless Horizon) and ends at #B8B8F8 (Purple Illusion), with #B5CAF7 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #b1dbf5, #b8b8f8) runs from Purple Illusion on the left to Endless Horizon on the right.