KlO4 is the chemical formula for potassium perchlorate, a compound commonly used in fireworks. It is an oxidizer that helps produce colorful flames and bright light displays when ignited. However, potassium perchlorate can be sensitive to shock and friction, making it potentially hazardous if mishandled.