The complementary color of #8172C9 is the color #BAC972
The HSL model was used to determine the complementary color