Inherited from Old Spanish lilio, borrowed from Latin līlium, from Ancient Greek λείριον (leírion). Cognate with English lily.
Practice speaking and memorizing "lirio" and many other words and sentences in Spanish.