Simultaneous Contrast
The same color looks different depending on what surrounds it. This is not an optical illusion in the trivial sense โ it is a fundamental feature of how human color vision works, and it has practical consequences for every design decision involving color.
The basic effect
The grey squares below are identical โ exactly #888888. They do not change. What changes is the background behind each one, and that change is enough to make the same grey look lighter, darker, warmer, or cooler.
Interactive: Same grey, different backgrounds
Left background
Right background
Left background
Right background
The grey on the dark background appears lighter. The grey on the light background appears darker. The values are identical.
Why it happens
The visual system does not measure absolute luminance โ it measures differences. The retinal ganglion cells respond to contrast with their immediate surroundings through a process called lateral inhibition: each cell is suppressed by the activity of its neighbours. A grey surrounded by dark neighbours receives less suppression, so it appears brighter. A grey surrounded by bright neighbours receives more suppression, so it appears darker.
This is not a bug โ it is a feature. Lateral inhibition allows the visual system to extract edges and surfaces efficiently, ignoring slow changes in overall illumination. The cost is that absolute color values become unreliable. What you see is always relative to what surrounds it.
The Bezold Effect
A related phenomenon: when a single colour is changed in a repeating pattern, the entire pattern appears to shift. Wilhelm von Bezold observed in 1876 that changing one element of a textile design could make all the other colours appear to shift. Below, only the line colour changes โ but the entire composition looks different.
Bezold Effect: Change the line colour
Dark lines
Light lines
The base and pattern colours stay identical between left and right. Only the line colour changes.
Colour Constancy
The visual system automatically corrects for the colour of the illuminating light โ a white sheet of paper looks white whether read under a yellow incandescent bulb or cool daylight. This colour constancy is usually helpful, but it can be fooled.
The famous 2015 "The Dress" phenomenon (was it blue/black or white/gold?) was a real-world failure of colour constancy: different viewers made different assumptions about the illuminating light, and therefore perceived different colours in the same image. Below, the central square is the same hex value in both panels โ but the surrounding colour cast causes the visual system to compensate differently.
Colour cast simulation
Warm light cast
Cool light cast
The central square is identical in both panels. The warm/cool surround tricks the visual system into perceiving them differently.
Why this matters
Simultaneous contrast explains why color choices made in isolation fail in context. It explains why a "neutral" grey background is never truly neutral โ it always interacts with every color placed on it. It explains why printed and screen colors can look different even when the values match. And it explains why the final test of any color decision must be made in the actual context in which it will be seen.