"Come in" is permission, offered to someone who has asked for it (by knocking, for example). Unsolicited, it sounds imperative, or presumptuous; though of course this can be moderated by tone of voice or other context.
"Come on in" is an invitation, much better as an unsolicited offer to someone who may not have been intending to enter. Offered to someone who has presented themselves to your door, it rather conveys that you'd welcome them even if they hadn't asked to do so. And it suggests that they will be joining you in a shared experience, rather than just entering a space for which you are the gatekeeper.