The Trimurti, Keshava (Vishnu)
Keshava is one of the names of Vishnu. The name appears as names 23 and 648 in the Vishnu sahasranama of the Mahabharata.

Keshava is one of the names of Vishnu. The name appears as names 23 and 648 in the Vishnu sahasranama of the Mahabharata. Keshava is worshiped by those who wish to ward off bad luck or evil omens. His consort is Keerti.
In Sanskrit literature, it refers to the one who has beautiful long (uncut) hair. According to the Padma Purana, the name refers to Krishna’s long, beautiful, uncut hair.
Slayer of the demon Keśī
In the Bhagavad Gita, Arjuna uses the name Keshava for Krishna several times, referring to him as the “Slayer of the demon Keshi”: “Now I can no longer remain here.
I am forgetting myself, and my mind is reeling. I see only causes of misfortune, O Kesava, slayer of the demon Keśī.” (Bhagavad Gita 1.30).
The demon Keshi, in the form of a horse, was sent by Kamsa to kill Krishna, but he was defeated and slain (Vishnu Purana 5.15-16).
Here is another story that explains the meaning of Keshava, according to Sri Adi Shankara:
One of Lord Krishna’s wives (some versions say it is Rukmini; others say it is Jambavati) wanted a son and expressed her wish to Krishna. Krishna said he would do tapas to propitiate Lord Siva and ask him for this blessing. This incident is described in the Kailasa Yatra parva of the Hari Vamsa, which is an appendix to the Mahabharata.
Meanwhile, on Kailasa, Siva was speaking about Sri Vaikuntha. There was a devotee of Siva on Kailasa named Ghantakarana. He was known by that name because he wore bells on both ears. He hated Vishnu, and whenever anyone mentioned Vishnu, he would shake his head so that the bells would ring loudly and he would not hear Vishnu’s name. At the end of Siva’s discourse, Ghantakarana asked Siva how he could attain moksha, and Lord Siva said that as long as he hated Vishnu, he could never attain moksha.
Lord Siva said that the name Kesava, which Vishnu bore, indicated that Brahma (ka) and Siva (Isa) came from Him. He also said that Vishnu was on his way to Kailasa and had reached Badrikasrama. Ghantakarana ran to Badrikasrama, where he worshiped Vishnu, and he was granted moksha. While explaining the name Kesava in his commentary on the Vishnu Sahasranama, Adi Sankara quotes this story and cites Siva’s words about Kesava.
But why would Krishna, who could accomplish anything he wished, do tapas for a child? Shiva himself provided the answer in the Hari Vamsa. He said that this was a performance (Play) on Krishna’s part. The One who is unborn took on many avatars for the sake of His devotees. This sounds incredible, and yet it happened. In the same way, he (Krishna) also became the messenger of the Pandavas.



