Test WCAG accessibility compliance
A Color Contrast Checker is an essential accessibility tool that calculates the contrast ratio between foreground (text) and background colors, then evaluates whether the combination meets WCAG (Web Content Accessibility Guidelines) standards. The Web Content Accessibility Guidelines require a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text at the AA level, and 7:1 for normal text at the AAA level.
Color contrast is critical for readability — especially for users with visual impairments, color blindness, or those viewing screens in bright sunlight. Even users with perfect vision benefit from well-chosen color pairs: low contrast causes eye strain and makes your content harder to scan quickly.
Our free Color Contrast Checker at Knexio lets you pick foreground and background colors using a color picker or by typing hex values. It instantly calculates the contrast ratio and displays pass/fail badges for WCAG 2.1 AA and AAA compliance levels, both for normal and large text. The live preview area shows exactly how your text will look on the chosen background.
Get accurate WCAG compliance results:
You should verify color contrast anytime you're making design decisions that affect text legibility:
Free Color Contrast Checker - Test color combinations for WCAG 2.1 accessibility compliance. Check AA (4.5:1) and AAA (7:1) contrast ratios for normal and large text.
Using our tool is straightforward and requires no design experience:
WCAG (Web Content Accessibility Guidelines) is an internationally recognized standard for web accessibility, maintained by the W3C. Many countries (including the US, UK, EU members, and Canada) have laws referencing WCAG — meaning if your website is not compliant, you could face legal action. Beyond legal risk, accessible design simply reaches more people: roughly 1 in 12 men has some form of color blindness.
It depends on your compliance target. WCAG AA (the legal minimum in many jurisdictions) requires 4.5:1 for normal text and 3:1 for large text (18pt+ or 14pt+ bold). WCAG AAA (the gold standard) requires 7:1 for normal text and 4.5:1 for large text. Our tool shows pass/fail for all four scenarios simultaneously.
Pure white (#ffffff) on dark purple might seem high contrast, but the actual ratio depends on the exact hex values. White on pure black is 21:1 (the maximum). White on a medium purple might only be 3:1 — which fails AA for normal text. Always test, even if the colors "look fine" to your eye. Our preview area will reveal surprises.
Yes. Any text on your site — whether in a <p> tag or baked into a hero banner image — must meet WCAG contrast requirements. For image text, check the contrast between the text color and the portion of the image directly behind it. If the background is a photo with varying colors, you may need to add a semi-transparent overlay behind the text to ensure sufficient contrast.
Yes, a few. Inactive UI components, disabled elements, decorative text (like logos), and text that's part of a disabled control don't need to meet contrast requirements. However, body text, headings, form labels, and button text absolutely must comply. When in doubt, test it — the penalty for getting it wrong is much higher than the effort of checking.