Purple fringing is a violet or magenta color outline that appears along high-contrast edges in a photograph, typically where a dark subject meets a very bright background such as a backlit branch against the sky. In the context of image quality in photography, it is one of the most visible color defects, and it is caused mainly by chromatic aberration in the lens, with additional contributions from sensor and processing effects.
The defect is most common with fast lenses used at wide apertures, with bright point light sources and with highlights that are close to clipping. Unlike noise or softness, purple fringing adds a color that was never present in the scene, so it draws attention even in small prints and web images.
What causes purple fringing
The main cause is axial (longitudinal) chromatic aberration: glass bends short wavelengths more strongly than long ones, so a lens cannot bring blue, green and red light to exactly the same focal plane. When green is in focus, violet and blue light form a slightly blurred halo around bright details. Because this halo surrounds the edge on all sides, it looks like a colored outline rather than a shifted copy of the edge.
Several secondary mechanisms make the outline stronger. Blooming and highlight clipping let a saturated area spill its excess signal into nearby pixels. Demosaicing of a Bayer sensor can produce false colors at sharp transitions. On some sensors, microlens and filter effects leak short-wavelength light into neighboring photosites at steep angles. Most real cases are a combination of these effects, which is why the label covers a family of causes rather than one.
| Contributor | Mechanism | Typical trigger |
|---|---|---|
| Axial chromatic aberration | Blue and violet focus in a different plane | Fast lens at or near maximum aperture |
| Lateral chromatic aberration | Colors are magnified by different amounts | Edges near the frame corners |
| Highlight clipping and blooming | Saturated pixels spread signal sideways | Sky, specular reflections, light sources |
| Demosaicing artifacts | Color is interpolated across a sharp edge | Fine high-contrast detail |
| Sensor crosstalk | Light leaks into neighboring photosites | Steep ray angles, older sensor designs |
Purple fringing and related image quality defects
Purple fringing is often confused with lateral chromatic aberration, but the two behave differently and need different fixes. Lateral aberration produces complementary fringes, usually red and cyan or blue and yellow, on opposite sides of an edge, it grows toward the corners, and it does not change with aperture. Axial fringing is purple or green around the whole edge, it can appear in the center of the frame, and it shrinks when the lens is stopped down.
| Defect | Appearance | Changes with aperture | Best correction |
|---|---|---|---|
| Purple fringing (axial) | Purple outline, green behind focus | Yes, smaller when stopped down | Defringe tool, narrower aperture |
| Lateral chromatic aberration | Red-cyan or blue-yellow edges | No | Automatic profile correction |
| Color moiré | Colored patterns in fine repeating detail | Rarely | Moiré brush, lower sharpening |
| Chromatic noise | Random colored speckles | No, depends on ISO | Color noise reduction |
A useful diagnostic is to look at the color of out-of-focus edges. With axial aberration, edges in front of the focal plane often turn purple while edges behind it turn green. This purple-green pairing is a reliable sign that a lens correction profile alone will not remove the defect.
When purple fringing is most visible
Purple fringing depends on lens design, aperture and contrast far more than on the camera body. Lenses with apochromatic designs or extra-low dispersion elements reduce the spread between wavelengths, while older and fast designs, such as many f/1.4 and f/1.8 primes, show the effect clearly when used wide open.
| Factor | Higher risk | Lower risk |
|---|---|---|
| Aperture | f/1.2 to f/2 | f/5.6 to f/8 |
| Scene contrast | Dark branches against bright sky | Even, diffused light |
| Exposure | Highlights clipped | Highlights kept below clipping |
| Lens design | Fast, older or simple optics | Apochromatic or low-dispersion designs |
| Subject detail | Thin, sharp edges and wires | Large, soft-edged shapes |
Stopping down by two to three stops usually reduces axial fringing strongly, because a smaller aperture deepens the depth of field enough for the blue focus plane to blur less. Protecting the highlights helps too, because clipped areas give the fringe a bright source to grow from.
Removing purple fringing in processing
Raw converters correct purple fringing with defringe tools that select a hue range, typically purple and magenta, and desaturate it only near high-contrast edges. A good correction sets the hue range as narrow as possible and the amount just high enough to neutralize the outline, so that purple clothing, flowers or skies stay untouched.
- Enable lens profile correction first to remove lateral aberration and distortion.
- Zoom to 100 or 200 percent on the worst edge before adjusting anything.
- Use the eyedropper or hue slider to sample the purple fringe color and set the amount.
- Treat a remaining green fringe behind focus with the green hue control.
- Paint a local defringe adjustment where a global setting would damage real purple subjects.
Correction works best on raw files, which still hold full color data at the edge. In a JPEG, the camera has already sharpened and compressed the fringe, so desaturation often leaves a gray or dark outline where the color used to be.
Common misconceptions
- Purple fringing is not a sensor fault. It mostly comes from the lens, so changing the camera body rarely solves it.
- More megapixels do not cause it, but high-resolution sensors make existing aberrations easier to see at full magnification.
- A UV filter does not cure it. Ultraviolet light is not the main cause on modern sensors, which already block most of it.
- Automatic lens profiles are not enough for axial fringing, because the defect varies with focus distance and aperture.
The idea in brief
Glass bends each color of light by a slightly different amount, a little like a weak prism. So a lens cannot focus every color on exactly the same spot. Picture a dark branch in front of a bright sky. The blue and violet light that missed the focus spreads into a thin glow. The photo then shows a purple outline around the edge.
The fix is usually simple. Close the aperture a little and avoid blown-out highlights. Then remove what remains with the defringe tool in an editing program.
A practical scenario
A landscape photographer stands in a forest at midday and photographs bare birch branches against a bright white sky with an 85 mm lens at f/1.8. At 100 percent magnification, every branch has a thick purple outline, and the outline continues into the center of the frame, which rules out lateral aberration as the main cause.
She shoots a second frame at f/5.6 with exposure lowered by two thirds of a stop so the sky is no longer clipped. The fringe becomes much thinner. In the raw converter she applies the lens profile, then sets a narrow purple defringe amount, and the outline disappears without changing the color of a violet jacket worn by a hiker in the scene. The combination of a smaller aperture, protected highlights and a targeted defringe gives clean edges that hold up in a large print.