I would say, "Nice to meet you". You can add the very if you want. When leaving the gathering where I had met someone, in taking my leave, I would say, "It was (very) nice meeting you".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.