An insurance company has paid $2.1 million to buy its longtime office building in Orchard Park.