The correct word to fill in the blank is B. Le.
So the complete sentence would be: "Le compro el libro a Ana."
This translates to "I bought the book for Ana." The word "le" is an indirect object pronoun used to indicate to whom the action is directed.