A former council children’s centre has sold for more than £650,000 after being put up for auction.