While Kṛṣṇa is known as a trusted advisor in the Mahābhārata, is also popularly known as a lover and seducer, and a trickster of sorts.
As a warrior and king, he was also a kṣatriya (like Rāma), not a Brahmin, so he represented a less pure caste identity.