APCA Contrast Calculator
Evaluate perceptual contrast scores using the candidate APCA (Accessible Perceptual Contrast Algorithm) method with font weight and scale matrices.
For regular body paragraphs (400 weight)
For bold headlines (700 weight)
APCA models how the human visual cortex processes spatial frequencies. Unlike legacy algorithms, it accounts for dark mode glare reduction and sub-pixel edge sharpness.
Technical Specification & Mathematical Principles
APCA is an experimental candidate algorithm evaluated for future accessibility frameworks. It determines perceptual lightness Y via spectral power laws (exponent 2.4) with flare compensation.
Contrast is computed as L_c = (Y_bg^0.56 - Y_txt^0.57) * 1.14 for dark-on-light, or (Y_bg^0.65 - Y_txt^0.62) * 1.14 for light-on-dark, producing a continuous score from -108 to +106.
Frequently Asked Questions
What is APCA and how does it relate to accessibility guidance?
Why does APCA assign positive and negative scores?
What Lc score is required for body text in current drafts?
Related Design & Color Instruments
WCAG Contrast Checker
Audit foreground and background color contrast ratios against WCAG 2.1 & 2.2 AA/AAA standards. Instant client-side W3C relative luminance calculator.
Color Blindness Simulator
Simulate Protanopia, Deuteranopia, Tritanopia, and Achromatopsia on colors and uploaded UI screenshots via 3x3 matrices.
Text Contrast Checker
Evaluate legibility compliance specifically for body text (4.5:1 ratio) and large headings (3:1 ratio).
Image Color Picker
Extract pixel colors from your images with pixel-level precision and an interactive magnifying loupe. Runs 100% locally in your browser.