On a real note, the things that I personally include in a hatable villain are as follows:
1. The villain is a complete hypocrite. I hate hypocrites. People who always hold others to different standards and expectations than they do themselves.
2. People who get everything handed to them without needing to work for it.
3. People who are immature and complain whenever things don't go their way.
4. People who are lazy and always make others do the hard work, but then blame them when things go wrong, and never take responsibility for their actions.
5. People who make excuses all the time.
Now here's the thing. When making a main villain, I don't think you should make them one of THOSE villains. And by THOSE villains, I mean the types of villains who are just evil for literally no reason. They go around killing people because.... they're the villain. They go around hurting people because.... they're the villain. All the traits I've listed above are things that I have seen in real life. And things that I hate. It's fine to give them selfish and horrible motives, such as maximizing their own pleasure, wealth, or power. But have you ever seen a person who has ever said "Other people are merely lower beings who need to be stepped on."? Of course not. Nobody would ever actually think like that. Which is why I find it stupid when villains do. Of course, that doesn't mean people can't be bigoted- but the way that such statements are worded are far different.
Say you have a nobleman who hates peasants, and views them to be trash. He wouldn't just go around calling peasants garbage, but maybe if he saw a peasant he would sneer and look at them with disgust. Perhaps he would force his own will onto them, and do as he pleases without anyone to go against them. But he wouldn't just go around like "You are garbage, and therefore you will do as I say." Speak through actions is what I'm getting at here. People in writing far too often directly say things which really don't need to be said, and it ends up coming out as something which is.... way too blunt, and nothing even close to what a real person would ever even consider saying.
Back to the point. I think one of the biggest things that defines whether a villain is likeable or not would be how they treat their subordinates. I love villains who treat their subordinates well, because it shows that even though they're evil, they have their own code of morals and standards, and in a way it makes me want them to win even if it means the MC will lose. On the other hand, when a villain treats their subordinates like shit and uses them, this makes me hate them. One way to think about is if the subordinate needs to be saved from the villain, then it's a hatable villain.
On the other hand, what makes a likable villain? Aside from what I've already said.
1. Villains who have a legitimate purpose and reason for their evil actions.
2. Villains who treat their subordinates either as equals, or protect their subordinates from the 'heroes' and would be legitimately pissed if one of their subordinates was hurt.
3. Villains who are simply fun characters. There are some villains who- no matter what they do, you just can't hate them because they have such great personalities.
4. Villains who hate evil but use fire to fight fire.
5. Villains who take responsibility, are mature, and act properly. Sometimes the villain makes the hero looks like a little kid with unrealistic dreams, and I often like the villain more than the hero in these scenarios.