Margaret Atwood's 1985 novel The Handmaid's Tale imagined a dystopian future where women are stripped of autonomy and sorted into color-coded castes.