Irish in origin. A variant spelling of Hagan. May relate to one who is descended of Uiginn, or vikings or sea-roaming folk.