Visible light is a narrow band of the electromagnetic spectrum, running from about 380 to 700 nanometers (nm), and the color you see depends on its wavelength. Your eyes do not read wavelengths directly. Three types of cone cells in the retina respond to different parts of the band, and your brain turns the balance of their signals into a color.
Red: 700 nm
Diagram: the visible spectrum, from the shortest visible wavelength on the left to the longest on the right.
Light as a wave: what you need to know
Light is energy that travels in waves. Like ripples on a pond, each wave has a length, the distance from one crest to the next. Scientists measure the wavelengths of light in nanometers, a unit so small that the visible range fits between a few hundred of them.
The full electromagnetic spectrum is far wider than what we see. It stretches from radio waves at one end to gamma rays at the other. Visible light occupies only a thin slice of that range. Everything outside the slice, from radio waves to gamma rays, is light in the physical sense but invisible to us.
The central idea of this page is simple. Within the visible slice, wavelength determines the color we perceive. Change the wavelength and you change the color. The rest of the story, from the rainbow to the magenta on a flower, builds on that one relationship.
The visible spectrum: wavelengths and color order
The visible range is usually given as 380 to 700 nm. Some sources draw the edges slightly differently, for example 400 to 750 nm, because the boundaries are not sharp. Sensitivity fades gradually at both ends, so each author picks a reasonable cutoff. The figures on this page follow the 380 to 700 nm convention.
Also read: The oceans: basics worth knowing
The colors always appear in the same order: red, orange, yellow, green, blue, indigo, violet. Red has the longest visible wavelength, about 700 nm. Violet has the shortest, about 400 nm. A rainbow is this order laid out in the sky, with each color bent to a slightly different angle.
700 nm
longest wavelength
400 nm
shortest wavelength
380 to 700 nm
Key figures for the visible spectrum.
Wavelength is tied to two other quantities. A shorter wavelength means a higher frequency, and a higher frequency means more energy in each photon, the tiny packet of light. So violet light carries more energy per photon than red light. The order of colors is therefore also an order of energy, running from low at the red end to high at the violet end.
There is a curious point here. We see only a sliver of the whole spectrum. The reason is that our eyes are built to respond to this band and no other, so the rest of the spectrum passes through the world unseen by us. What we call “light” in everyday speech is really what our own biology can detect.
How your eyes perceive color: the three cone types
The retina contains three types of cone cells. Each type is sensitive to a different range of wavelengths. Their names describe the part of the spectrum where they respond best:
S cones (short), tuned to blue, with a peak around 420 to 440 nm.
M cones (medium), tuned to green, with a peak around 534 to 545 nm.
L cones (long), tuned to red, with a peak around 564 to 580 nm.
Cone peaks at a glance
S cones, blue: 420 to 440 nm
M cones, green: 534 to 545 nm
L cones, red: 564 to 580 nm
Diagram: the three cone types and where each responds most strongly.
Each cone type responds to a range of wavelengths, not to a single one. The ranges overlap. A single wavelength of light usually stimulates more than one type of cone, each by a different amount. The signal your brain receives is therefore a set of three levels, and the color you perceive comes from the ratio between them.
Take orange as an example. It sits between red and yellow on the spectrum, which puts it in territory where more than one cone type responds. Your brain does not receive a label saying “orange.” It receives a particular balance of stimulation across the three cone types, and that balance is what you experience as orange. A different balance gives a different color.
This explains why color is not simply “in” the light. The light has a wavelength. The color is what the eye and brain make of the pattern of cone responses.
Additive color mixing: why white light and magenta exist
When all the visible wavelengths reach the eye together, we see white light. White is not a missing color. It is every color at once. A prism shows the reverse: it spreads white light back out into its separate wavelengths.
Mixing colored lights works the same way. This is called additive mixing, because each light adds its wavelengths to the others. It applies to beams of light, not to pigments, which belong to a different subject entirely. With light, the more colors you add, the closer the result moves toward white.
Magenta is the most instructive case. If you mix red light and violet light, you get magenta. Yet magenta does not exist as a single wavelength anywhere in the spectrum. It lies outside the rainbow order. Our eyes still perceive it as a distinct hue, because the combined stimulation of the cones is a pattern that no single wavelength produces on its own.
The lesson is that color is a perceptual experience. Light supplies wavelengths, and the visual system builds colors from them, including some that have no wavelength of their own.
Why some people see color differently
Because color depends on three kinds of cones, small differences in those cones can change what a person sees. Individual variation in the cones is normal, and no two people have exactly the same response.
Color blindness, also called color vision deficiency, shows the science at work. It is a difference in how the cones respond, not an absence of sight. A person with this trait still sees, but the balance of signals reaching the brain differs from the common pattern. Colors that most people tell apart can produce nearly the same signal for them.
Seeing it this way keeps the explanation honest. There is no single “correct” color experience handed down by the light itself. There is a physical signal, a wavelength, and a living system that interprets it.
What these discoveries made possible
Understanding that color comes from wavelengths, three cone types, and the brain’s comparison of their signals changed how people think about vision. It showed that a few kinds of receptors can account for the full range of colors we see, and that the spectrum we call “light” is a small part of a much larger whole.
Science Learning Hub, Colours of Light. ScienceNotes, Visible Light Spectrum Wavelengths and Colors. Britannica, Color. Colors on the Web, Color Physics. FSU Molecular Expressions, Human Vision and Color Perception. 2020 Magazine, A Brief Look at the Theory of Color Perception.


