Vecna is a male in the official lore of DnD, but if you want the character to be a woman in your campaign, you can adapt the character accordingly.