In the diffraction optical element for achieving compatibility in plural wavelengths (for example, of red, blue, and colors other than the red and blue) and for correcting aberration by a single objective lens, Formula (1) is satisfied for the depth margin.