Of Chinese origin.
From the Chinese word/symbol 慧 (huì), meaning “intelligent”, “wise”.
There are more Chinese characters pronounced similarly, such as 辉 (huī), meaning “bright”.
Hui is also an ethnic group, mostly from the Zhongyuan area of China and the Northwestern too.