Winning

The players win immediately if they either cure all 5 diseases or cure the 4 other diseases and have no purple disease cubes on the board.

Only 12 purple cubes

Like any other disease, if you cannot place the number of purple cubes actually needed on the board, your team loses. There are only 12 (not 24) purple cubes in the supply!