In the Vines to Purple Passion Gradient
CSS
background: linear-gradient(90deg, #5c457b 0%, #784674 100%);
From In the Vines (#5C457B) to Purple Passion (#784674). The two hues are 39° 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 | |
|---|---|---|---|---|---|
| In the Vines | #5C457B | 92, 69, 123 | 266°, 28%, 38% | 25, 44, 0, 52 | |
| 25% (near Royal Robe) | #634579 | 99, 69, 121 | 275°, 27%, 37% | 18, 43, 0, 53 | |
| 50% (near Neon Violet) | #6A4678 | 106, 70, 120 | 283°, 26%, 37% | 12, 42, 0, 53 | |
| 75% (near Purple Passion) | #714676 | 113, 70, 118 | 294°, 26%, 37% | 4, 41, 0, 54 | |
| Purple Passion | #784674 | 120, 70, 116 | 305°, 26%, 37% | 0, 42, 3, 53 |
Halfway along, the gradient is #6A4678, closest to the named color Neon Violet. 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.13:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #5c457b, #784674) - Diagonal:
linear-gradient(135deg, #5c457b, #784674) - Radial, from the center out:
radial-gradient(circle, #5c457b, #784674) - Tailwind CSS:
bg-gradient-to-r from-[#5c457b] to-[#784674]
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 In the Vines to Purple Passion gradient?
It starts at #5C457B (In the Vines) and ends at #784674 (Purple Passion), with #6A4678 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #5c457b, #784674) runs from Purple Passion on the left to In the Vines on the right.