A varifocal lens includes a substrate having an inclined region, a primary electrode disposed over the inclined region of the substrate, a dielectric layer disposed over the primary electrode, a deformable membrane disposed over and at least partially spaced away from the dielectric layer, a secondary electrode disposed over a surface of the deformable membrane facing toward or away from the dielectric layer and overlying at least a portion of the primary electrode, and a fluid between the membrane and the substrate, wherein a surface of the dielectric layer facing the secondary electrode comprises a textured surface.