A new visible-light-excitable fluorescence ratiometric probe for OCl(-) has been developed based on a triphenylamine-diamiomaleonitrile (TAM) moiety. The structure of the dye was confirmed by single-crystal X-ray analysis. It behaves as a highly selective and sensitive probe for OCl(-) over other analytes with a fast response time (∼100 s). OCl(-) reacts with the probe leading to the formation of the corresponding aldehyde in a mixed-aqueous system. The detection limit of the probe is in the 10(-8) M range. The probe (TAM) also exhibits solvatofluorochromism. Changing the solvent from non-polar to polar, the emission band of TAM largely red-shifted. Moreover, the probe shows an excellent performance in real-life application in detecting OCl(-) in human blood cells. The experimentally observed changes in the structure and electronic properties of the probe after reaction with OCl(-) were studied by DFT and TDDFT computational calculations.