Quick answer

  1. Pick a mood first: calm, energetic, luxurious, playful.
  2. Choose a harmony: analogous (neighbors) for calm, complementary (opposites) for energy.
  3. Add a dark anchor and a light highlight from the same color family.
  4. Keep it to three to five colors and let one lead.
  5. Blend in OKLab or add a bridge color so opposites do not turn gray.

Start with the mood, not the colors

Before picking a single hex code, decide what the gradient should feel like. Colors carry strong associations, and the same layout feels completely different in another palette:

MoodColors that workExample use
Calm, trustworthyBlues, teals, soft violetsFinance, health, SaaS
Warm, invitingOranges, peach, gold, roseFood, hospitality, lifestyle
LuxuriousDeep jewel tones, gold, blackFashion, beauty, premium products
EnergeticHot pink, orange, electric blueMusic, events, sports
Soft, friendlyPastels with a muted anchorWellness, kids, beauty
FuturisticNeon on near-black, aurora greensTech, gaming, AI

Use a color harmony

Color harmonies are proven ways to combine hues based on their position on the color wheel. Four are especially useful for gradients:

HarmonyWhat it isFeelExample hex codes
AnalogousNeighbors on the wheelCalm, cohesive#4C1D95, #A21CAF, #F472B6
MonochromeShades of one hueElegant, minimal#053A3A, #0F8B8D, #7FE0D6
ComplementaryOpposites on the wheelEnergetic, high contrast#0B4EA2, #3D8BFD, #FF8C42
TriadicThree evenly spaced huesPlayful, vibrant#6D28D9, #16A34A, #F97316

Mind the value, not just the hue

Value is how light or dark a color is. A gradient between two colors of the same value, like a medium pink and a medium blue, looks flat. Add a dark version of your palette at one end and a pale tint at the other, and the gradient gains depth instantly.

A simple test: convert your gradient to grayscale (or squint). If it becomes one flat gray, add more value contrast.

Professional, a professional gradient with a dark anchor, organic flow and grain
The same pink and blue as a basic gradient, but with a dark navy anchor and a pale pink highlight. The value range creates depth.

Give one color the lead

The 60-30-10 rule from interior design works for gradients too: let one color cover most of the canvas, a second color a good part, and an accent only a small area. In practice, that often means a dark base covering most of the image, a lead color in the middle and a bright accent where the light is.

Avoid muddy blends

When two colors from opposite sides of the color wheel blend in sRGB, the midpoint loses saturation and can turn gray or brown. Two fixes:

  • Blend in OKLab or OKLCH. Perceptual color spaces keep the midpoint vivid.
  • Add a bridge color. Between blue and orange, a pink or violet stop keeps the transition colorful.
Blue to orange in sRGB
OKLab with a pink bridge color

Ready-made gradient palettes

Need a starting point? These palettes are taken from our gradient collections. Each one is ordered from the dark anchor to the light highlight:

PaletteHex codesCollection
Sunset#3A1C71, #D76D77, #FFAF7B, #FFF1E0Sunset
Aurora#030712, #14B8A6, #A78BFA, #ECFEFFAurora
Ocean#023E7D, #0096C7, #90E0EF, #F0FBFFOcean
Aesthetic#B8A1E3, #FFC8DD, #BDE0FE, #FFFFFFAesthetic
Christmas#0F5132, #B3122E, #E8B04A, #FBF6ECChristmas
Neon#2A0A4A, #FF00C8, #00E5FF, #F5F0FFNeon

Browse all gradient backgrounds for more palettes with downloadable images.

Frequently asked questions

What colors make a good gradient?

Colors that are related, such as neighbors on the color wheel or shades of one hue, plus a dark anchor and a light highlight for depth. Three to five colors is usually enough.

Do complementary colors make a good gradient?

They can, but the middle can turn gray in sRGB. Blend in OKLab or add a bridge color between them, and let one of the two dominate.

How many colors should a gradient have?

Two is enough if they have strong value contrast. Three to five gives more depth, and more than five usually gets busy.

What is the most popular gradient color combination?

Sunset palettes (violet to pink to orange) and blue-to-purple gradients are among the most used, because they are analogous, vivid and work with white text.