Decoded Purple intercepts helped at Midway.
"... Later, as head of the communications section of the navy general staff, he would play an instrumental part in designing the "Red" and subsequently the "Purple" machines that were to be used for enciphering Japan's most secret diplomatic traffic."
Layton, et al., And I Was There, William Morrow and Company, Inc., New York, NY, 1985, page 50.
So far as known today, the distribution of "Purple" machines: the Brits got three, CAST got one, ... Pearl Harbor got none.