contestada

The mayor gave the winner a blue ribbon.

What kind of complement is ribbon in the sentence?