You could use a hex nut. I wouldn't. Tightening the nut or putting any force on the senders contact post could cause a fuel leak. This already happened to another member a few years ago.
I can send you a #10 connector that will fit your fuel sender if you want.