Huebook

Drifting Violet to Purple Passion Gradient

CSS

background: linear-gradient(90deg, #5b4276 0%, #784674 100%);

From Drifting Violet (#5B4276) to Purple Passion (#784674). The two hues are 36° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Drifting Violet#5B427691, 66, 118269°, 28%, 36%23, 44, 0, 54
25% (near Drifting Violet)#62437698, 67, 118276°, 28%, 36%17, 43, 0, 54
50% (near Neon Violet)#6A4475106, 68, 117287°, 26%, 36%9, 42, 0, 54
75% (near Purple Passion)#714575113, 69, 117295°, 26%, 36%3, 41, 0, 54
Purple Passion#784674120, 70, 116305°, 26%, 37%0, 42, 3, 53

Halfway along, the gradient is #6A4475, 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.18:1, so the change is gentle.

Other ways to use it

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 Drifting Violet to Purple Passion gradient?

It starts at #5B4276 (Drifting Violet) and ends at #784674 (Purple Passion), with #6A4475 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #5b4276, #784674) runs from Purple Passion on the left to Drifting Violet on the right.