The present invention relates to cationic triphenylamines derivatives compounds having a common structure presenting the following general formula (A) activable by visible and infra-red light for inducing and imaging apoptosis in cancer cellswhere---- is an optional covalent bond