Nitrogen triiodide, also called nitrogen iodide, is the chemical compound with the formula NI3. It is a sensitive contact explosive: small quantities explode with a gunpowder-like snap when touched even lightly, releasing a purple cloud of iodine vapor.