Each illustration associated with a specific product has that products colors as its dominant palette.
As long as the products main colors are implemented, there can be any other color next to it as long as the palette is harmonious. This all depends on the context of the illustration.
Ideally, strive towards analogous or triadic complementary color schemes.