Infinity and Beyond to Scampi Gradient
CSS
background: linear-gradient(90deg, #6e7e99 0%, #6f63a0 100%);
From Infinity and Beyond (#6E7E99) to Scampi (#6F63A0). The two hues are 34° 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 | |
|---|---|---|---|---|---|
| Infinity and Beyond | #6E7E99 | 110, 126, 153 | 218°, 17%, 52% | 28, 18, 0, 40 | |
| 25% (near Infinity and Beyond) | #6E779B | 110, 119, 155 | 228°, 18%, 52% | 29, 23, 0, 39 | |
| 50% (near Stormy Horizon) | #6F719D | 111, 113, 157 | 237°, 19%, 53% | 29, 28, 0, 38 | |
| 75% (near Scampi) | #6F6A9E | 111, 106, 158 | 246°, 21%, 52% | 30, 33, 0, 38 | |
| Scampi | #6F63A0 | 111, 99, 160 | 252°, 24%, 51% | 31, 38, 0, 37 |
Halfway along, the gradient is #6F719D, closest to the named color Stormy Horizon. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on the Infinity and Beyond end and white text on the Scampi end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 1.29:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #6e7e99, #6f63a0) - Diagonal:
linear-gradient(135deg, #6e7e99, #6f63a0) - Radial, from the center out:
radial-gradient(circle, #6e7e99, #6f63a0) - Tailwind CSS:
bg-gradient-to-r from-[#6e7e99] to-[#6f63a0]
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 Infinity and Beyond to Scampi gradient?
It starts at #6E7E99 (Infinity and Beyond) and ends at #6F63A0 (Scampi), with #6F719D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #6e7e99, #6f63a0) runs from Scampi on the left to Infinity and Beyond on the right.