A stability study was conducted on the purple cabbage pigment,using purple cabbage as the raw material.The study involved a series of analyses including pH,metal ions,and various food additives,aiming to explore the optimal storage and usage conditions for the pigment.The results showed that the purple cabbage pigment is sensitive to pH,with a decrease in retention rate as pH increases.Different metal ions also have an impact on the stability of the pigment,with Fe3+destroying its structure and reducing stability,resulting in a retention rate of only 8.68%.On the other hand,Ca2+enhances the stability of the pigment.The addition of sucrose as an additive also improves stability,with a retention rate of 119.48%achieved using a 20 g∙L-1 sucrose aqueous solution.However,the presence of salt,sodium benzoate,and potassium sorbate decreases the stability of the pigment.