2025 should be the year you stop using WCAG 2 colour contrast testing, and switch to APCA. This article is a few years old, and covers everything well. https://blog.datawrapper.de/color-contrast-check-data-vis-wcag-apca/
It's time for a more sophisticated color contrast check for data visualizations - Datawrapper Blog

The WCAG contrast requirements are flawed. Here's what a new approach could mean for data visualizations.

Datawrapper Blog
@marcedwards No white text on light purple? You're going to upset the ms teams folk 😛
@bartreardon Oh, the point is that you probably *can* use that combo, if you use common sense or APCA testing, rather than WCAG 2.