Huebook

Cosmic Heart to Vice City Gradient

CSS

background: linear-gradient(90deg, #9601f4 0%, #ee00dd 100%);

From Cosmic Heart (#9601F4) to Vice City (#EE00DD). The two hues are 27° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Cosmic Heart#9601F4150, 1, 244277°, 99%, 48%39, 100, 0, 4
25% (near Vibrant Purple)#AC01EE172, 1, 238283°, 99%, 47%28, 100, 0, 7
50% (near Trippy Velvet)#C201E9194, 1, 233290°, 99%, 46%17, 100, 0, 9
75% (near Piercing Pink)#D800E3216, 0, 227297°, 100%, 45%5, 100, 0, 11
Vice City#EE00DD238, 0, 221304°, 100%, 47%0, 100, 7, 7

Halfway along, the gradient is #C201E9, closest to the named color Trippy Velvet. The stops are mixed in RGB, the way browsers draw a linear gradient by default.

Text on this gradient

White text reads best on the Cosmic Heart end and black text on the Vice City 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.57: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.

Questions

What are the HEX codes of the Cosmic Heart to Vice City gradient?

It starts at #9601F4 (Cosmic Heart) and ends at #EE00DD (Vice City), with #C201E9 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #9601f4, #ee00dd) runs from Vice City on the left to Cosmic Heart on the right.