The band gaps (calculated at the PBE level and corrected to the HSE level ) of the lowest-energy ternary PS for each metal cation and the most common P/S ratios are displayed in Figure . See Supplementary Information for details on the correction and the data used from the SNUMAT database . PSs span the whole range from metals to widegap insulators, but most of them are predicted to be semiconductors, often with band gaps in the visible. This is a promising trend for applications within optoelectronic energy conversion. Ternary PSs from s-block metals generally feature the widest band gaps followed by the ternaries incorporating p-block and Group 12 metals, while the PSs including d-block or f-block metals feature the lowest band gaps. For most metal cations, a P/S ratio of 1/1 generally yields the narrowest band gaps and a P/S ratio of 1/4 the widest band gaps.