Gradient stops
#5B21B6 0% #DB2777 36% #F97316 70% #FBBF24 100% A sunset gradient moving from twilight purple through pink and orange to golden yellow.
A stylized sunset progression intended for expressive backgrounds rather than natural-color measurement.
Sunset gradients work because they intentionally cross warm and cool hue families. Stop order and spacing determine whether the transition feels natural or abrupt.
#5B21B6 0% #DB2777 36% #F97316 70% #FBBF24 100% .example {
background: linear-gradient(135deg, #5B21B6 0%, #DB2777 36%, #F97316 70%, #FBBF24 100%);
} Gradient contrast varies across the surface. Test important text against every area it may overlap instead of relying on a single midpoint color.
Muted low-contrast sunset.
linear-gradient(135deg, #7C6FA8 0%, #D88C9A 45%, #F6C177 100%) Saturated expressive progression.
linear-gradient(130deg, #7C3AED 0%, #DB2777 38%, #F97316 72%, #FBBF24 100%) Dustier earth-toned sunset.
linear-gradient(160deg, #4A2C4F 0%, #85445B 45%, #D97757 75%, #F1C27D 100%) A blue-to-purple gradient moving from saturated blue through indigo to violet.
An orange gradient from light peach through vivid orange to deep burnt orange.
A pink gradient from soft blush through vivid pink to deep berry.
A purple gradient moving from light lavender through vivid violet to deep purple.