Gengar's origin is as follows:
It seems to be simply based on general cartoonish ghosts, cats, or the Cheshire Cat and possibly on a distorted shadow of a human being like shadow people.