The chemical reactions and pathways resulting in the formation of ocellus pigments, any general or particular coloring matter in living organisms, found or utilized in the ocellus, a minute simple eye found in many invertebrates.