We propose lead-free potassium iodide perovskite solid solutions KBI3 with B-site mixing between Ge/Sn and Mg as potential candidates for photocatalysts based on systematic first-principles calculations.