Yuwen Gong 宇文肱 (d.526) | | | | | | Yuan Huai 元怀 (488–517) | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | |
Yuwen Hao 宇文顥 (d. 524) | | Princess Fengyi (d. 541) | | Yuwen Tai 宇文泰 (507–556) | | Emp. Xiaowu of Northern Wei r. 532–535 | | | | | | | | | | Dugu Xin 獨孤信 504–557 | | | | | | | | |
| |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Yuwen Hu 宇文護 (513–572) | | Yuwen Jue 宇文覺 (542–557) Xiaomin (r. 557)1 | | Yuwen Xian 宇文憲 545–578 | | Yuwen Yong 宇文邕 (543–578) Wu (r. 560–578)3 | | Yuwen Yu 宇文毓 (534–560) Ming (r. 557–560)2 | | Empress Dugu 獨孤王后 d.558 | | Dugu Qieluo 獨孤伽羅 544–602 | | Emperor Wen of Sui r. 581–604 | | Duchess Dugu |
| | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | Yuwen Yun 宇文贇 (559–580) Xuan (r. 578–579)4 | | Yang Lihua 楊麗華 561–609 | | Sui dynasty | | | | | | Emperor Gaozu of Tang r. 618–626 |
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | Yuwen Yan 宇文衍 (573–581) Jing (r. 579–581)5 | | | | | | | | | | | | | | Tang dynasty |