Considering medieval productions, characters like Harley Quinn and Joker also compare with the ancient trickster archetype. Just as the synonymous harlequin nature was illustrated above. While the Joker is more of a combination of trickster and clown. For example, in the movie The Dark Knight, Joker told Two-Face:
I try to show the schemers how pathetic their attempts to control things really are.
Which relates to the medieval theatrical clown who inverted the attention of the audience to their ridiculous selves. While antihero Harley Quinn pranced around in maniacal criminal garb, mocking her justice warrior role.