Most likely its CMYK to RGB issue of PDF…
When project is ready to be saved in PDF make sure you assign RGB color profile in Print dialog and let Illustrator determine the color. Click DONE Go File -> Color Mode switch from SMYK to RGB and see if the colors are preserved visually… if yes your Saving to PDF should look the same.
if you need to stay in CMYK – its more complicated research…