The new donor-acceptor type conjugated moiety, namely 3-([4-(2-Cyano-2pyridine-2yl-vinyl)-phenyl]-dodecyl-amino)-phenyl)-2-pyridine-2-yl-acrylonitrile (DPA-PA) has been synthesized according to the Knoevenagel condensation. Here dodecyloxy diphenylamine moiety acts as an electron donor and cyano-pyridyl moiety acts as an electron acceptor. These moieties are recently showing great interest in optoelectronic applications. The structure of the DPA-PA was confirmed by FT-IR, 1H NMR. The final product showed great solubility in common organic solvents such as toluene, tetrahydrofuran, ethyl acetate, dichloromethane, chloroform etc due to the dodecyl chain. The absorption maximum of DPA-PA appeared at 433 nm in chloroform solution. The optical band gap is 2.2 eV calculated from thin film absorption edge (550 nm). The photoluminescence spectra exhibited a maximum peak at 513 nm with greenish fluorescence in chloroform solution and at 541 nm as the thin film state. The emission spectra of thin film state are 28 nm red shifted with broadening peak. The lower electrochemical band gap 1.55 eV was observed by cyclic voltammetry. This type of low band gap materials has much attention for their various potential applications in optoelectronic devices. © Published under licence by IOP Publishing Ltd.