A contrast effect is the enhancement or diminishment, relative to normal, of perception, cognition or related performance as a result of successive (immediately previous) or simultaneous exposure to a stimulus of lesser or greater value in the same dimension. (Here, normal perception, cognition or performance is that which would be obtained in the absence of the comparison stimulus—i.e., one based on all previous experience.)
Perception example: A neutral gray target will appear lighter or darker than it does in isolation when immediately preceded by, or simultaneously compared to, respectively, a dark gray or light gray target. Cognition example: A person will appear more or less attractive than that person does in isolation when immediately preceded by, or simultaneously compared to, respectively, a less or more attractive person. Performance example: A laboratory rat will work faster, or slower, during a stimulus predicting a given amount of reward when that stimulus and reward are immediately preceded by, or alternated with, respectively, different stimuli associated with either a lesser or greater amount of reward.
Simultaneous contrast identified by Michel Eugène Chevreul refers to the manner in which the colors of two different objects affect each other. The effect is more noticeable when shared between objects of complementary color.
In the image here, the two inner rectangles are exactly the same shade of grey, but the upper one appears to be a lighter grey than the lower one due to the background provided by the outer rectangles.
This is a different concept from contrast, which by itself refers to one object's difference in color and luminance compared to its surroundings or background.
Successive contrast occurs when the perception of currently viewed stimuli is modulated by previously viewed stimuli.
For example, staring at the dot in the center of one of the two colored disks on the top row for a few seconds and then looking at the dot in the center of the disk on the same side in the bottom row, makes the two lower disks appear to have different colors for a few moments, though they are the same color.
One type of contrast that involves both time and space is metacontrast and paracontrast. When one half of a circle is lit for 10 milliseconds, it is at its maximum intensity. If the other half is displayed at the same time (but 20–50 ms later), there is a mutual inhibition: the left side is darkened by the right half (metacontrast), and the center may be completely obliterated. At the same time, there is a slight darkening of the right side due to the first stimulus; this is paracontrast.