Xerox Corp. has reached an agreement to purchase the color printing division of Tektronix Inc. for $950 million in a deal that will make Xerox second only to Hewlett-Packard in the office color printing market.