To compensate the lateral offset of an opposing plug, a contact element for a plug-in connector socket has particularly large tolerances. For this purpose, the contact element is embodied in two pieces, a contact spring element for making electrical contact with the opposing plug and a securing element in which the contact spring element is mounted so as to be rotatable about a rotational axis. In contrast to a case in which tolerances depend on deformation of a spring element, by virtue of rotation of the contact spring element no forces act on the soldering points with which the securing element is soldered to a printed circuit board. The contact element is particularly suitable for soldering according to SMT.