The identification and quantification of the ecological risks, sources and distribution of heavy metals in purple soils are essential for regional pollution control and management. In this study, geo-accumulation index (Igeo), enrichment factor (EF), pollution index (PI), potential ecological risk index (RI), principal component analysis (PCA) model and geographical detector (GD) were combined to evaluate the status, ecological risk, and sources of heavy metals (HMs) in soils from a typical purple soil areas of Sichuan province. The results showed that the average contents of As, Cd, Cr, Cu, Hg, Ni, Pb and Zn in purple soil were 7.77, 0.19, 69.5, 27.9, 0.077, 30.9, 26.5 mg/kg and 76.8 mg/kg, and the Igeo, EF and RI of topsoil Hg and Cd in designated area was the highest, and the average contents of Hg and Cd in topsoil were obviously greater than respective soil background value in Sichuan province and purple soil. The hot spots for the spatial distribution of 8 HMs were mainly focused in the southwest and northeast of the designated area, and there were also significant differences for 8 HMs distribution characteristics in the profile soil. Cu comes from both anthropogenic and natural sources, Zn, Ni and Cr mainly come from natural sources, but As, Pb, Hg and Cd mainly derived from human activities. GD results showed that soil texture (X18), altitude (X4), total nitrogen (TN), clay content (X3), sand content (X2) and silt content (X1) had the greatest explanatory power to 8 HMs spatial differentiation.This study provides a reference for understanding the status and influencing factors of HM pollution in typical purple soil, and lays a theoretical foundation for the environmental treatment of purple soil in China.