Why does the back of a CD shine in rainbow colors?

Kohaku
KohakuWhen you tilt a CD, its colors keep changing. Where do those rainbow colors come from?
The answer in 30 seconds
KohakuLet me give you the answer in 30 seconds first.

The back of a CD looks rainbow-colored because the thin tracks that hold its data are lined up very close together, just 1.6 micrometers apart. Light reflected from each track overlaps, and which color gets stronger depends on the angle you look from, so white light splits into rainbow colors. The CD itself is not giving off light.

Kohaku
KohakuNow, let’s look at it in more detail.
The data side of a CD shining in rainbow colors in the light
The bright white band is light bounced back like a mirror, and rainbow colors spread around it.Photo: Yann Droneaud from Paris, France / CC BY-SA 2.0 / Wikimedia Commons

Data tracks split the light

A CD has tracks that hold its data, packed tightly together in a spiral. According to a physics demonstration page from the University of Colorado Boulder, the tracks are 1.6 micrometers apart (about 1/600 of a millimeter). These fine, regular tracks work the same way as a "diffraction grating," a tool that splits light into colors, and they separate white light into rainbow colors.

The strongest color changes with the angle

According to Nicolaus Copernicus University in Poland, when light hits a CD, each of the evenly spaced tracks acts like its own source of light. The light coming from the tracks either adds up or cancels out, depending on the color and the angle you view it from. Each color gets stronger at a different angle, so you see different colors in different places, and the colors change when you tilt the CD just a little.

Figure: How a CD's tracks split light into colors
An illustration for “Why does the back of a CD shine in rainbow colors?” It shows: white light from a light bulb; the readable side of a CD; close-up of evenly spaced fine tracks; blue, green and red light reflecting at different angles for each color.
  1. 1White light from a light bulb
  2. 2The readable side of a CD
  3. 3Close-up of evenly spaced fine tracks
  4. 4Blue, green and red light reflecting at different angles for each color
Kohaku
KohakuThe colors change with just a little tilt because each color gets stronger at a different angle.

White in the middle, rainbow around it

In an experiment at the University of Colorado, white light was shone on the data side of a CD and reflected onto a wall. Around the bright white light bounced back like a mirror, rainbow colors appeared, from violet to red. A prism also splits white light into colors, but a CD is different: it sends each color off at a different angle because of how finely its tracks are spaced.

DVDs work the same way

According to the University of Vermont, most diffraction gratings sold commercially are made of many fine grooves lined up close together, and an everyday example is the surface of a DVD. The data dots on a DVD are about 400 nanometers wide (1/2500 of a millimeter), and a DVD splits light into colors just like a CD.

Want to know more?

  • If you reflect light from a compact fluorescent bulb on a CD, some rainbow colors look missing. Which colors appear depends on the gas inside the bulb.
  • Light split by a CD separates into crisp colors, close to what a real spectrometer (a device that sorts light by color) can tell apart.
  • The rainbow colors of a soap bubble come from light reflected off the front and back of its thin film, so they form in a different way from a CD's colors.
Kohaku
KohakuA CD's rainbow comes from tracks lined up 1.6 micrometers apart, splitting white light into colors. The CD itself is not shining at all.

Quick quiz: test yourself

KohakuRemember what you just read? Give it a try!

Why does the back of a CD look rainbow-colored?

Show the answer
  1. It is coated with rainbow paint
  2. The CD itself gives off light
  3. Fine tracks split light into colors

Fine tracks split light into colors Light reflected from tracks lined up 1.6 micrometers apart builds up at a different angle for each color.

Sources
  1. CD RainbowUniversity of Colorado Boulder, Physics Undergraduate Labs
  2. CD spectrometerNicolaus Copernicus University in Toruń, Faculty of Physics(Physics Toys)
  3. Diffraction And InterferenceThe University of Vermont

This article was written after checking the sources above as of 2026-10-03. Explanations may change as research progresses. Photo credits are shown below each photo.

Next fun fact ▶

ScienceWhy do soap bubbles look rainbow-colored?Rainbow-like colors swirl across the surface of a soap bubble. Soapy water has no color at all, so isn't that strange?

▶ See all 12 articles in “The science of color”

NANI?! Animal Encyclopedia
Our book is on AmazonNANI?! Animal Encyclopedia

40 surprising animal facts with big photos and short, easy text. A fun-facts book for kids and grown-ups to read together.

See it on Amazon