The photoluminescence of self-trapped excitons is a common luminescence behavior of metal halide perovskite fluorescent materials. The ability of Lattice deformation has a significant impact on its self-trapped exciton luminescence. The 0-dimensional inorganic perovskite <italic>A</italic><sub>2</sub>InCl<sub>5</sub>·H<sub>2</sub>O (<italic>A</italic>=Cs, Rb, K) doped with Sb<sup>3+</sup> is characterized by X-ray diffraction, fluorescence spectroscopy and Raman spectroscopy. The effect of octahedral deformation of [InCl<sub>5</sub>H<sub>2</sub>O]<sup>2-</sup>/[SbCl<sub>5</sub>H<sub>2</sub>O]<sup>2-</sup> due to cation radius change on the fluorescence properties is investigated. The decrease of the cation radius causes the decrease of the interplanar spacing of material, the increase of band gapand the blue shift of the excitation spectrum. At the same time, the electro-acoustic coupling effect of material is enhanced, then the non-radiative recombination process is enhanced, the Stokes shift increases, the spectral line broadens, the spectrum red shift happens, and the photoluminescence quantum yield decreases. This paper provides an effective way to regulate the self-trapped excitons luminescence of perovskites.