During the past 20 years, fluorescent materials have had a significant impact on modern cultures' technological advancements. Utilizing the advantageous qualities of these materials, a wide range of applications have been created, from organic photovoltaic to OLED TVs, from extremely sensitive early disease detection techniques to the sensing of environmental contaminants. For energy harvesting applications, the most crucial characteristic of organic molecules is their band gap. Differentially, we produced 4,4'-((6-alkyl-1,3,5-triazine-2,4-diyl)bis(azanediyl)) diphenol based organic molecule in this research. This molecule may be employed in organic electronics, such as solar cells and OLEDs, after further processing. UV-Visible spectroscopy was used to determine the energy gap of the synthesized new analogue.