The DPPH scavenging reaction was performed when DPPH solution (750 μL) was added to the sample solution of the same volume. The mixture was incubated for 30 min in room temperature and measured for absorbance at 517 nm by a UV–visible spectrophotometer. The corresponding blank reading was also taken and percent inhibition was then calculated as follows: