The well-crystallized mixed anions compound cerium oxychloride (CeOCl) was successfully synthesized by a high-pressure solid-state metathesis reaction. The photoluminescence experiment shows that the CeOCl, with a band gap of ∼3.05 eV, has good violet-blue emission properties. And first-principles calculations of the band structures show that CeOCl is an indirect (direct) band gap semiconductor for the spin-up (spin-down) branch. This suggests that the CeOCl can be expected to be a semiconductor material. In addition, in situ high-pressure angle-dispersive X-ray diffraction experiment reveals that the bulk modulus of CeOCl is 52.8(8) GPa, which is close to our first-principles calculations, giving that B0 = 47.6(5) GPa.