The bacterium Legionella pneumophila is still one of the probable causes of waterborne diseases, causing serious respiratory illnesses. In the aquatic systems, L. pneumophila exists inside free-living amoebae or can form biofilms. Currently developed disinfection methods are not sufficient for complete eradication of L. pneumophila biofilms in water systems of interest. Photodynamic inactivation (PDI) is a method that results in an antimicrobial effect by using a combination of light and a photosensitizer (PS). In this work, the effect of PDI in waters of natural origin and of different hardness, as a treatment against L. pneumophila biofilm, was investigated. Three cationic tripyridylporphyrins, which were previously described as efficient agents against L. pneumophila alone, were used as PSs. We studied how differences in water hardness affect the PSs’ stability, the production of singlet oxygen, and the PDI activity on L. pneumophila adhesion and biofilm formation and in biofilm destruction. Amphiphilic porphyrin showed a stronger tendency for aggregation in hard and soft water, but its production of singlet oxygen was higher in comparison to tri- and tetracationic hydrophilic porphyrins that were stable in all water samples. All three studied porphyrins were shown to be effective as PDI agents against the adhesion of the L. pneumophila to polystyrene, against biofilm formation, and in the destruction of the formed biofilm, in their micromolar concentrations. However, a higher number of dissolved ions, i.e., water hardness, generally reduced somewhat the PDI activity of all the porphyrins at all tested biofilm growth stages.