Cai Yan (蔡琰), style name: Wenji (文姬) and Zhaoji (昭姬), is a minor protagonist in the 14th-century Chinese classic novel Romance of the Three Kingdoms by the late Luo Guanzhong, and its multiple adaptations. She is the daughter of Cai Yong and the wife of Dong Si, and a poet and musician who lived during the late Eastern Han dynasty of China. She spent part of her life as a captive of the Xiongnu, when the warlord Cao Cao, who controlled the Han central government in the final years of the Eastern Han dynasty, paid a heavy ransom to bring her back to Han territory.
Cai Wenji was born in the Prefecture of Yu, she is a famous for being a beautiful woman. When she was only fifteen years old, she married Wei Zhongdao, who died shortly afterwards, leaving no offspring. After Dong Zhuo's murder caused Xiongnu nomads to arrives in the capital and Cai Wenji was a prisoner of the Xiongnu in northern China, until Cao Cao paid a huge sum for her release. Cai Wenji is often does Cao Cao awesome, but her voice is beautiful and everyone knows that they will appreciate the benefits.
During her captivity she was the wife of Xiongnu chief Liu Bao with whom she had two children. He married again with the government official Dong Si, Cai Wenji is laughs and elegant, but listening to each other and distracting. Everyone knows that she is not really ruthless, Cao Cao was shocked and bothered his own intentions. However, he was sentenced to death and Cai Wenji went to Cao Cao begging him to absolve her husband. Excited by his pleas, Cao Cao pardoned him. Later in her life, she wrote two poems describing her turbulent years.
When Cao Cao is a good friend of Cai Yong, he was sad that they have no heirs, so he gave the gold to the Xiongnu in exchange for Cai Wenji. Soon after, Cai Wenji also helped her family to protect the homeland, she was repatriated and remarried to Dong Si. Cai Wenji was said to be very smart duo to her kind-nature and has musical talent. One night, she heard her father playing the instrument and a rope broke. Cai Wenji correctly said that it was the second string, and Cai Yong deliberately broke the other, this time is intentional. She is able to name the string again.
Cai Wenji was getting abducted by nomads group when she was learning her talents, Cao Cao finally caught up to saved her and then taking the woman back to homeland for safety. All these things Cai Wenji lived a good life, Cao Cao has always admired her occasionally they claim to be close friends.
After Dong Zhuo's death, Emperor Xian is probably to returned to Luoyang and continue the exhibition. Then Dong Zhuo's hegemonic behavior will be carried out by various warlords, their ambitions was already repeated to do so now. For example, her father's loyalty is very tense, Cai Wenji thinks that she is allowed to knock down many troops and protect her father from injuries.
However, Cai Wenji agreed to stand with Guo Jia and Zhang He to resist Wu forces during Jianye's invasion, such then promised to asking them for helped. While the Wu troops was attacking Xuchang, Cai Wenji and Zhang He arrived at the city gate to defeated Zhou Yu, who proved that he was his own superior and appointed them.
As a quiet advocate, Cai Wenji is a humble and selfless soul. She was deeply touched by the sorrow she saw, and she is empathetic with the tenacity and desire of others to bring hope to them.
But her bravery in battle is mainly for those who she thinks are not as lucky as her. In fact, she seriously doubts her strengths and fears to fight. In order to ease her pressure, Cai Wenji may create melody or poetry. Her art is an alternative to her inspiring courage and peace of mind for herself and others.
She is the filial daughter of a peace-loving father. Cai Wenji shared her father's feelings of avoiding unnecessary conflicts and protecting order. Her love for her father forced her to sympathize with Diao Chan, because the dancer sacrificed her personality for Wang Yun's plan.
- She is playable character in the Dynasty Warriors video game series.