Iodine vapor produces the violet color of the smoke.