Liu Yi 劉廙 (180-221), courtesy name Gongsi 恭嗣, was a Confucian scholar and writer of the very late Eastern Han period 東漢 (25-220 CE).
He hailed from Anzhong 安眾 in the commandery of Nanyang 南陽 (today's Zhenping 鎮平, Henan) and was known as an expert in philosophical disputes.
Together with his older brother they planned to join the warlord Liu Biao 劉表, but then decided to flee to the southeast, where they became supporters of Cao Cao 曹操. The latter made Liu Yi clerk of the Counsellor-in-chief (chengxiang yuan 丞相掾) and then promoted him to the post of for *leader of miscellaneous uses of the secretaries ( 五官將文學). When the kingdom of Wei 魏 was founded, he was appointed Gentleman Attendant of the Palace gate (huangmen shilang 黃門侍郎), but then demoted to secretary in the granaries section of the Counsellor-in-chief (chengxiang cangcao 丞相倉曹). Emperor Wen 魏文帝 (r. 220-226) made Liu Yi palace attendant (shizhong 侍中) and granted the title of Marquis within the Passes (guanneihou 關內侯).
Of his book Zhenglun 政論 "On government" eight chapters are preserved in the collection Qunshu zhiyao 群書治要. Also transmitted are his memorials Jian Cao gong qinzheng Shu shu 諫曹公親征蜀疏 and Lun zhi dao biao 論治道表.
Liu Yi was of the opinion that a successful leader would select his supporters in all strata of society, particulary in the lower and, and pick out the most competent. It is known that he once discussed with Ding Yi 丁儀 matters of penal law and of ceremonies, and they came to the conclusion that law was more important than rituals. He was also interested in the astronomical calculations of Sima Hui 司馬徽.