WD40 is my first go-to for such things. It contains a solvent of some sort but does not damage paint on cars and motorcycles in my experience. I use it regularly to remove tar and bugs from both. And I use it as my standard do-all solvent for general cleaning in the workshop. Seems to be reasonably effective and always benign.
After that, maybe methylated spirits, brake cleaner and acetone in that order, all tested on an obscure corner of the paint first.