An ophthalmic lens material includes dopamine methacrylamide, a hydrophilic monomer, a cross-linking agent, and a photoinitiator. The dopamine methacrylamide has a mass percentage of about 0.5% to about 10% of a total mass of the ophthalmic lens material. The hydrophilic monomer has a mass percentage of about 88.95% to about 99.494% of a total mass of the ophthalmic lens material. The cross-linking agent has a mass percentage of about 0.001% to about 1% of a total mass of the ophthalmic lens material. The photoinitiator has a mass percentage of about 0.005% to about 0.05% of a total mass of the ophthalmic lens material.