In a reflector including an AlGaN layer, an InGaN layer, and a GaN layer placed therebetween, high reflectivity and a wide reflection band are achieved. A reflector includes a substrate containing GaN; first layers containing AlxGa1-xN; second layers containing InyGa1-yN; and a third layer containing GaN, the first, second, and third layers being stacked on the substrate. The first and second layers are alternately stacked, the third layer is placed between one of the first layers and one of the second layers, x and y satisfy a specific formula, the first layers have a thickness less than the thickness of the second layers, and the second layers have an optical thickness of λ/8 to 3λ/8, where λ is the central wavelength of the reflection. band of the reflector.