A replication tool for producing an optical structure (2; 2') comprising an optical element , the replication tool comprising - a central section (c) having a shape defining a negative of a portion of the optical structure (2; 2'), the central section (c) having a vertically aligned central axis (A); - a surrounding section (s) laterally surrounding the central section (c); - one or more contact standoffs defining a contact plane; wherein all portions of the replication tool are arranged on a same side of the contact plane, wherein a direction pointing from the contact plane into said side along a vertical direction aligned perpendicular to the contact plane, and wherein lateral directions are perpendicular to the vertical direction, wherein, in a first azimuthal range (φ1), a surrounding portion (S) provides a first compensation surface (f1) that is concave facing away from the central axis (A), and wherein in a second azimuthal range (φ2), the surrounding portion (S) provides a second compensation surface (f2) facing away from the central axis (A), wherein an azimuthal range is an angular range in a lateral plane about the central axis (A), and wherein, in any cross-section containing the central axis (A) in the second azimuthal range (φ2), any steepness of the second compensation surface (f2) is higher than any steepness of the first compensation surface (f1) in any cross-section containing the central axis (A) in the first azimuthal range (φ1), wherein said steepnesses are both an increase in vertical coordinate of the respective surface per increase in distance from the central axis (A) of the respective surface; wherein, in any cross-section comprising the central axis (A) in the first azimuthal range (φ1), throughout a lateral extension of the first compensation surface (f1), a distance of the first compensation surface (f1) from the contact plane increases with increasing distance from the central axis (A), and wherein the first compensation surface (f1) ends in a distance from the central axis (A) at which a distance of the first compensation surface (f1) from the contact plane stops increasing with increasing distance from the central axis (A); wherein, in any cross-section containing the central axis (A) in the first azimuthal range (φ1) in any cross-section containing the central axis (A) in the second azimuthal range (φ2), the surrounding section (s) comprises a retaining portion (r') in which the replication tool , in the respective cross-section, has its smallest non-zero distance to the contact plane, and the retaining portion (r') is located between the central section (c) and the respective compensation surface; wherein an edge is present at the inner end of the first compensation surface (f1) and the second compensation surface (f2), said edge being the place where the replication tool is closest to a surface between the respective compensation surface and the central section c, wherein in any cross-section comprising the central axis in the second azimuthal range, the second compensation surface ends where the steepness of the second compensation surface becomes zero or changes sign, and wherein the retaining portion (r') comprises a retaining section (r) in which the replication tool is aligned essentially parallel to the contact plane, wherein the retaining portion (r') completely laterally surrounds the central section (c). - a central section (c) having a shape defining a negative of a portion of the optical structure (2; 2'), the central section (c) having a vertically aligned central axis (A); - a surrounding section (s) laterally surrounding the central section (c); - one or more contact standoffs defining a contact plane; <EOS>