SAN FRANCISCO — LinkedIn Corp. has agreed to pay $13 million to settle a proposed privacy class action claiming the company used site users’ names and likenesses to shower their contacts with repeated spam-like invitations to join the professional networking site. The proposed settlement filed late Thursday night is subject to approval from U.S. District Judge Lucy Koh.

If approved, the deal would rank among the largest payouts to settle a privacy case filed in the Northern District of California.