The present invention relates to a compound based on phthalocyanine derivative for photodynamic inactivation of both gram-positive and gram-negative bacteria as well as pathogenic yeast, wherein the compound is composed of at least one organic acid salt of sulfoamide type of the phthalocyanine derivative of the general formula I, whereby the organic acid is selected from the group consisting of ascorbic acid, lactic acid and citric acid.