The invention discloses a ruthenium (II) complex, of which the structure is as shown in the specification, and also discloses a preparation method of the complex. The method comprises the following steps: firstly, preparing X-RPIP from phenanthroline 5,6-diketone as a raw material, and then preparing a product, namely the ruthenium (II) complex from the X-RPIP and cis-Ru(L)2Cl2 as the raw materials; or firstly, preparing the X-RPIP from X-BrPIP as a raw material, and then preparing the product from the X-RPIP and cis-Ru(L)2Cl2 as the raw materials; or firstly, preparing Ru(L)2(X-R'''PIP)<2+> from Ru(L)2Cl2 and X-R'''PIP as the raw materials, and then preparing the product from the Ru(L)2(X-R'''PIP)<2+> as the raw material. The synthetic method disclosed by the invention is simple, especially the synthetic lambda-[Ru(bpy)2(p-BEPIP)]<2+> is free of toxicity on a living cell, quick to stride across a film, strong in fluorescence color, easy to observe, and not easy to quench, fluorescence excitation does not overlap with an emission waveband, and cell nucleus enrichment can be carried out.