About the WCAG Accessibility Checker
The WCAG Accessibility Checker measures the luminance ratio between a text color and its background, from 1:1 (invisible) to 21:1 (black on white). The WCAG guidelines turn that ratio into clear pass/fail targets: 4.5:1 for normal text at level AA, 3:1 for large text and interface components, and 7:1 for the stricter AAA level.
If your pair fails, you rarely need a new color β adjust lightness. Darken the text or lighten the background in HSL steps until the ratio passes, keeping the hue so the design still feels like yours. The fix buttons on this page do exactly that automatically.
Example
Start from the brand color #5B4BFF β that is rgb(91, 75, 255) or hsl(245, 100%, 65%). Load it in the tool above and you will see every value, preview and export update around it. Swap in your own project color and repeat the same steps.