Bokeh gradient with soft circular highlights against a warm coloured background

Bokeh Gradient Generator

Dreamy, defocused bokeh gradients with adjustable highlight density, size variance, and blur. The studio renders the effect procedurally so resolution is unlimited and palette is fully customisable. Free editor with 30+ presets, export to 8K PNG, MP4 video, or live React component.

Open the editor
Free·No signup·Export instantly

Looking for paid features? See pricing

What is bokeh?

Bokeh is the Japanese word for the aesthetic quality of out-of-focus regions in a photograph, particularly the way bright light sources outside the focal plane render as soft circular highlights. The word entered English-language photography vocabulary in the late 1990s and has been the dominant term for this effect ever since.

What makes bokeh distinctive is the relationship between the bright highlights and the surrounding soft falloff. A bright streetlight 30 feet behind a portrait subject renders not as a small bright dot but as a large soft glowing circle, often as big as the subjects entire face. This visual exaggeration is one of the most recognisable signatures of expensive camera lenses with wide apertures (f/1.4, f/1.8) because cheaper lenses cannot defocus light enough to produce the effect.

The Gradients.design bokeh generator reproduces this look procedurally rather than from a real photograph. You set the highlight density, size variance, blur, and palette, and the studio renders the result at any export resolution. Useful when you do not have a photo with the right colour mood, or when you need consistent bokeh across multiple compositions in a brand identity.

How real bokeh works (the optics)

Real bokeh comes from the geometry of the lens aperture. When a light source falls outside the lens focal plane, the lens still gathers light from it but cannot bring the rays to a sharp point on the sensor. Instead, the rays spread out across a circle matching the aperture shape. The result on the image is a soft disc instead of a sharp point.

Three properties influence the look:

  • Aperture shape. A circular aperture (many blades) produces round bokeh. A hexagonal aperture (6 blades) produces hexagonal bokeh. Designers usually want round.
  • Distance behind the focal plane. Lights further from the focused subject appear larger. Lights closer to it appear smaller. This creates depth.
  • Aperture size. Wider apertures (f/1.4) produce more pronounced bokeh than narrower ones (f/8). This is why fast prime lenses are prized for portraits.

The studios renderer simulates all three: the shape control sets aperture geometry, size variance simulates depth distribution, and blur radius simulates how wide the effective aperture is. You can dial these to match the look of any real lens you reference.

Make one in 4 steps

  1. Open the bokeh editor. Visit the free bokeh gradient generator. The canvas opens with a soft warm bokeh composition drifting slowly.
  2. Pick the base palette. Add 2 to 4 base colours that form the background the highlights sit on top of. Warm tones (peach, coral, amber) read as romantic; cool tones (navy, indigo) read as cinematic.
  3. Set highlight density and size. Tune how many light spots (10 to 500) and how much they vary in size. Sparse and large reads as dreamy portrait; dense and small reads as starfield.
  4. Adjust blur and export. Tune blur radius for the soft-edge quality. Export PNG up to 8K for print, MP4 video on Pro plans, or alpha-channel PNG for overlay use.
Tip. Start with the wedding-warm preset for romantic compositions or night-starfield for sci-fi. Both are tuned to commonly-requested looks; pure custom builds are doable but slower to dial in.

Bokeh in pure CSS

For decorative bokeh accents that do not need photorealism, pure CSS can fake the look using multiple radial-gradient layers with blur:

CSS
.bokeh {
  position: relative;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,200,200,0.6) 0%, transparent 8%),
    radial-gradient(circle at 70% 20%, rgba(255,220,180,0.5) 0%, transparent 6%),
    radial-gradient(circle at 40% 80%, rgba(255,180,220,0.55) 0%, transparent 10%),
    radial-gradient(circle at 85% 65%, rgba(255,210,170,0.4) 0%, transparent 7%),
    linear-gradient(135deg, #2d1f3d, #4a2c5c);
  filter: blur(2px);
  min-height: 100vh;
}

This produces a passable bokeh approximation in pure CSS, but it has limits. Each radial gradient is one highlight, so you need many layers for a dense composition (and the CSS gets unwieldy at 20 plus layers). The filter: blur trick blurs the whole element including any content on top, which is rarely what you want.

For real bokeh compositions (hero backgrounds, wallpaper, photography mockups), export a PNG from the studio. Single image, no CSS complexity, unlimited highlight count.

Bokeh gradient vs real photography

When should you use a procedural bokeh gradient versus a real photograph with bokeh?

Use the procedural gradient when:

  • You need a specific colour palette that no available photo matches.
  • You need very high resolution (8K and above) without losing sharpness.
  • You want the same visual mood across multiple brand assets and need consistency.
  • You need an animated version (procedural bokeh can drift; a photo is static).
  • Licensing photographs would be expensive or impractical.

Use a real photograph when:

  • You want depth that includes recognisable foreground content (a person, an object).
  • The visual story needs to feel grounded in reality rather than designed.
  • You have a portfolio of in-house photography that defines your brands look.

Many brands use both: procedural bokeh for marketing pages and brand assets where colour consistency matters, real photography for editorial content where authenticity matters.

Where bokeh gradients work best

  • Wedding and event invites. The single most common use case. Warm bokeh signals romance and celebration.
  • Portrait photography backdrops. Photography studios use bokeh backdrops for indoor shoots that simulate outdoor location bokeh.
  • Music video backplates. Especially for ballads, slow R and B, and cinematic pop where mood matters more than detail.
  • Holiday card designs. Christmas, New Year, and seasonal cards lean on bokeh for that warm festive feel.
  • Romantic editorial layouts. Magazine spreads for fashion, beauty, and wedding content.
  • Cinematic title cards. Film and TV title sequences use bokeh-style backplates to set mood without showing scene content yet.
  • Lifestyle and luxury brand marketing. Skincare, jewelry, and lifestyle brands use bokeh for that intimate premium feel.

Picking the right palette for bokeh

Bokeh gradients live or die by their palette. Five reliable starting points:

  • Wedding warm. Peach (#ffb088), coral (#ff8a70), gold (#f5d572), cream (#fff5dc). Reads as romantic and celebratory.
  • Cinematic teal. Deep teal (#0a3d4d), navy (#0f1f3a), pale gold (#d4b87a). The Hollywood teal-and-orange palette translated to bokeh.
  • Night starfield. Pure dark navy (#0a0f2a) base, bright white highlights with hints of pale blue (#c8e0ff). Reads as space or winter night sky.
  • Spring botanical. Pale rose (#ffd1dc), butter yellow (#ffe9a8), soft green (#c5e6c5). Reads as fresh and seasonal.
  • Champagne luxury. Warm gold (#d4b888), pearl (#f3e9d4), deep brown base (#3a2a1f). Reads as premium and intimate.

Common mistake: too many colours. Stick to 3 to 5 related tones. More than that and the bokeh stops reading as cohesive and starts looking like a fruit-salad screensaver.

Brands and use cases in the wild

A short list of places where bokeh aesthetics dominate as of 2026:

  • Wedding industry websites. The Knot, Zola, Minted: almost universal use of warm bokeh on wedding-themed pages.
  • Lifestyle photography portfolios. Photographers use bokeh-style site backgrounds to signal which kind of work they do.
  • Hallmark and greeting-card brands. Holiday product pages use bokeh as the default backdrop.
  • Apple iCloud and Memories app. Soft bokeh underlies many of the system-level photo-presentation animations.
  • Spotify "Wrapped" annual rollout. Year-end summary visualisations have used bokeh styling in several editions.
  • Wedding planner SaaS. Aisle Planner, HoneyBook, and similar tools default to bokeh in their marketing assets.

Common mistakes

  1. Highlights too dense. 500 highlights in a small canvas reads as visual noise. Aim for 50 to 150 unless youre specifically going for a starfield look.
  2. All highlights the same size. Real bokeh has size variation because lights are at different depths. Set variance to at least 40 percent.
  3. Pure white highlights. Real bokeh highlights take on subtle tints from the surrounding light environment. Tint your highlights slightly toward the warmest light source in the composition.
  4. No falloff. Bokeh highlights are not solid discs; they have soft edges that fade to transparent. The studios default falloff is tuned correctly; resist sharpening it.
  5. Mixing too many palettes. Warm and cool tones in the same composition fight each other. Pick one temperature direction and commit.
  6. Ignoring the contrast under your text. If body copy sits on top of bokeh, test contrast at the brightest and darkest regions. The variance can break WCAG contrast even when the average reads fine.

Frequently asked questions

What is bokeh?

Bokeh refers to the aesthetic quality of the out-of-focus areas in a photograph, especially the soft circular highlights that appear when a bright light source falls outside the lens focal plane. In design, a bokeh gradient renders this look procedurally: soft circular highlights of varying size and depth, blended over a colour gradient.

How is this different from a blurred photo?

A blurred photo softens existing content. The bokeh generator renders the spots from scratch as a procedural composition, so resolution is unlimited and the result is always sharp at the highlight level. Useful when you do not have a photograph or want a custom palette.

Can I match a specific photograph?

Yes. Sample colours from the photo using a colour-picker tool, then paste the hex values into the bokeh palette. The result will not be pixel-identical, but it will share the same colour mood and depth.

Does it work for dark backgrounds?

Yes. Use a dark base palette (navy, near-black) and bright highlight colours for a starry-night effect. The night preset is specifically tuned for this. The contrast between dark base and bright highlights amplifies the depth.

Can the bokeh be animated?

Yes. The live preview drifts slowly. Pro plans export MP4 and WebM video so you can use the animation in product reels, brand videos, or social posts.

Can I export with a transparent background?

On paid plans, yes. Alpha-channel PNG export lets you composite the bokeh over arbitrary backgrounds. Useful for product mockups and overlay use in design tools.

What lens shape does the studio simulate?

Circular by default (the most flattering bokeh shape, produced by lenses with many aperture blades). The studio also includes hexagonal and rounded-hexagonal presets that mimic the bokeh from lenses with 6 to 7 aperture blades, which is common in mid-range camera gear.

Are bokeh gradients still popular?

Yes, especially for wellness, lifestyle, and luxury consumer brands. The aesthetic is less trend-dependent than chrome or neon, which means it ages well. Year-over-year search volume has been stable since 2020.

Ready to design yours?

Free, no signup required. Export to CSS, PNG, React, or MP4 video.

Open the editor