Gram’s iodine solution is used as a mordant in the Gram staining process. It is added after the primary staining step with crystal violet; the resultant crystal violet - Iodine complex imparts purple color to the cells.
Iodine(I) interacts with Crystal Violet(CV) to form large CV-I complexes within the cytoplasm and outer layers of the cell.