In Kingdom Hearts 1 Riku isn't a villian he is an anti-hero. There are also suspesions of Riku giving into the darkness because he was jealous of Sora, but that probably is not entirely true so if you all want to expand discussion on that be my guess but thier is a difference between Anti-Hero and Villian.