Eight near-infrared heptamethine cyanines have been successfully synthesized based on IR 786 with oxygen, sulfur and amine moieties at the central position. These dyes show diverse optical properties resulting from different substitutions. Particularly, the heptamethine dyes with amine moieties have larger Stokes shifts and higher quantum yields of fluorescence. We also investigated these dyes for tumor cell cytotoxicity using cell viability and in vitro proliferation assays. Two of the compounds showed high cytotoxicity against PC-3 cancer cells.