This site suggests potassium chloride for purple flames: https://www.madisonco.com/fabulous-fun-facts-how-turn-fire-different-colors.
Haven’t seen the movie, but the colour of ordinary flames can surely be altered with either practical effects like a colour filter or with CGI, or the flames...