Providing multi-focal visual correction includes determining a plurality of pupil conditions for an eye and determining a target wavefront profile on the basis of the plurality of pupil conditions.