Galactic Highway to Violet Poison Gradient
CSS
background: linear-gradient(90deg, #3311bb 0%, #8601bf 100%);
From Galactic Highway (#3311BB) to Violet Poison (#8601BF). 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 | |
|---|---|---|---|---|---|
| Galactic Highway | #3311BB | 51, 17, 187 | 252°, 83%, 40% | 73, 91, 0, 27 | |
| 25% (near Sea Serpent’s Tears) | #480DBC | 72, 13, 188 | 260°, 87%, 39% | 62, 93, 0, 26 | |
| 50% (near Sea Serpent’s Tears) | #5D09BD | 93, 9, 189 | 268°, 91%, 39% | 51, 95, 0, 26 | |
| 75% (near Violet Poison) | #7105BE | 113, 5, 190 | 275°, 95%, 38% | 41, 97, 0, 25 | |
| Violet Poison | #8601BF | 134, 1, 191 | 282°, 99%, 38% | 30, 99, 0, 25 |
Halfway along, the gradient is #5D09BD, closest to the named color Sea Serpent’s Tears. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White 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.43:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #3311bb, #8601bf) - Diagonal:
linear-gradient(135deg, #3311bb, #8601bf) - Radial, from the center out:
radial-gradient(circle, #3311bb, #8601bf) - Tailwind CSS:
bg-gradient-to-r from-[#3311bb] to-[#8601bf]
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 Galactic Highway to Violet Poison gradient?
It starts at #3311BB (Galactic Highway) and ends at #8601BF (Violet Poison), with #5D09BD in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #3311bb, #8601bf) runs from Violet Poison on the left to Galactic Highway on the right.