The Mazda 787 and its derivative 787B are Group C sports prototype racing cars that were built by Mazda for use in the World Sportscar Championship, All Japan Sports Prototype Championship, as well as the 24 Hours of Le Mans from 1990 to 1991. Designed to combine a mixture of the Fédération Internationale du Sport Automobile (FISA) Group C regulations with the International Motor Sports Association (IMSA) GTP regulations, the 787s were the last Wankel rotary-powered racing cars to compete in the World and Japanese championships, using Mazda's R26B engine.