An Iberian short form related to Rodrigo, from Germanic roots meaning "famous ruler."
Rui is a name with two distinct and geographically distant traditions. In Portuguese, Rui is a contracted medieval form of Rodrigo, which derives from the Visigothic elements hrod (fame, glory) and ric (power, ruler) — making it a cognate of the English Roderick and the German Rüdiger. Rodrigo was the name of the last Visigothic king of Hispania (died 711 CE), and through the Middle Ages the name became deeply embedded in Iberian identity.
Rui was its familiar, lyric diminutive — the form used in verse and song. The poet Rui de Pina (15th century) and the novelist Rui Barbosa in Brazil (19th–20th century) are among its bearers. In Portugal and Brazil today, Rui remains a dignified given name with a slightly classical quality.
In Japan, Rui (written with various kanji combinations such as 塁, 類, or 流偉) is an independent given name used for both boys and girls, with meanings that vary by character — including "base" (as in baseball), "cumulative," or more poetically "flowing greatness." The name has appeared in anime and manga, giving it a youthful pop-cultural visibility in East Asian contexts. What unites the Portuguese and Japanese Rui is phonetic elegance: two syllables, clean vowels, easy in virtually any language's mouth.
For international families, it is a name that passes between cultures without friction, carrying history in one tradition and contemporary freshness in another. Its rarity in English-speaking countries gives it a cosmopolitan character — a name that announces its bearer has roots, or imagination, or both.