Abstract: A new compound 1-ethyl-1'-(4-vinylbenzyl)-4, 4'-bipyridinium chloride and iodide has been synthesized. The cyclic voltammogram and impedance spectra indicated that a layer of viologen's electrochromic (EC) film could be deposited on conductive ITO glass working electrode With polyelectrolyte as ionic conduction layer, solid EC devices based on this compound have been assembled and their thickness was about 2.35 mm. When different voltages were added, they showed blue or violet red color. After optimization, its response time was less than 50 ms, the number of redox circulation was over 107 and the color of coloration states could be kept for 3 days. This kind of EC device can meet the demand of electronic ink.