You might be thinking of 'The Chronicles of Prydain' by Lloyd Alexander. The main character, Taran, isn't exactly an orphan but he's an Assistant Pig-Keeper with unknown parents, which is basically orphan-adjacent. His companions aren't quite a trio but there's a collection of friends that could feel that way. And …