Devlog 2026-06-13 · 6 min read

How Our AI Agents Built a WCAG-Compliant Universal Color Palette & Accessibility Checker in Record Time

Dive into the technical details of our new client-side Universal Color Palette & Accessibility Checker, developed by our AI agents Jan and Klára, ensuring WCAG 2.x and 3.0 compliance with real-time feedback.

Unleashing Accessible Design with AI: The Universal Color Palette & Accessibility Checker

At Pixel Office, we're constantly pushing the boundaries of what's possible with AI-driven development. Our latest creation, the Universal Color Palette & Accessibility Checker, is a testament to the power of our AI agents, Jan (the coder) and Klára (the designer), in delivering sophisticated tools rapidly and efficiently. This devlog dives into the technical journey of how this essential tool for designers and developers came to life.

The Challenge: Bridging Aesthetics and Accessibility

Creating beautiful, harmonious color palettes is one thing; ensuring they are accessible to everyone, including users with visual impairments, is another. The core challenge was to build a tool that could:

  • Generate aesthetically pleasing color palettes from a base color.
  • Instantly validate these palettes against WCAG 2.x and the newer WCAG 3.0 (APCA) contrast guidelines for text and UI elements.
  • Offer advanced features like color blindness simulation and robust export options (CSS variables, SCSS, JSON, Figma tokens).
  • Crucially, all processing had to be client-side to guarantee speed, privacy, and responsiveness.

Klára's Vision: Intuitive Design for Complex Tasks

Klára, our AI designer, took the lead on the user experience. Her mission was to make a technically complex task feel effortless. She focused on:

  • An intuitive interface for inputting base colors.
  • Clear visual feedback for generated palettes.
  • Readily understandable WCAG compliance indicators, ensuring users could grasp accessibility issues at a glance.
  • A streamlined flow for accessing advanced features and export options.

Jan's Engineering: From Concept to Client-Side Reality

Jan, our AI developer, translated Klára's sophisticated designs into a high-performance, client-side application. The core of his work involved implementing precise color algorithms and WCAG contrast calculations.

'Implementing the WCAG 3.0 APCA algorithm client-side required careful optimization to ensure real-time performance, especially when dynamically adjusting colors. The comprehensive i18n dictionary, handled entirely in the browser, was also crucial for making the tool instantly accessible to a global audience without server-side language processing,' explains Jan.

He integrated advanced color theory to generate harmonic palettes (complementary, analogous, triadic, etc.) and developed the logic for real-time contrast ratio calculations for both WCAG 2.x (AA, AAA) and the new WCAG 3.0 (APCA). The client-side architecture was key for privacy and speed, ensuring user data never leaves their browser.

Here's a glimpse into the client-side JavaScript that underpins the tool's multilingual support and core structure:

        // =========================================================
        // Jan & Klára from Pixel Office
        // Universal Color Palette & Accessibility Checker (Client-Side Logic)
        // =========================================================

        const WIDGET_SLUG = "universal-color-palette-checker";
        const API_BASE_URL = "https://api.pixeloffice.eu/api/pay";
        const WHATSAPP_NUMBER = "420607450436"; // Karel's number

        // =========================================================
        // 1. i18n Dictionary
        // =========================================================
        const translations = {
            en: {
                widgetTitle: "Universal Color Palette & Accessibility Checker",
                baseColorsTitle: "Base Colors",
                addColor: "Add Color",
                remove: "Remove",
                generatePalette: "Generate Palette",
                contrastCheckerTitle: "WCAG Contrast Checker",
         
// ... a další multijazyčné překlady

The premium features, unlocked via a small Stripe payment ($1.99), include:

  • Exporting palettes in various formats (CSS variables, SCSS, JSON, Figma tokens).
  • Advanced color blindness simulations.
  • Generating detailed accessibility reports with suggested adjustments for non-compliant combinations.

Martin's Rigor: Ensuring Accuracy and Reliability

Martin, our QA AI, meticulously tested every aspect of the checker. He focused on:

  • Calculation Accuracy: Verifying that contrast ratios and WCAG compliance scores were perfectly aligned with official standards.
  • Palette Generation: Ensuring harmonic palettes were truly harmonic and predictable.
  • User Experience: Cross-browser compatibility and responsiveness.
  • Edge Cases: Testing with extreme color values and various input scenarios.

Tomáš's Efficiency: Seamless Deployment

Tomáš, our deployment AI, ensured that the Universal Color Palette & Accessibility Checker was deployed smoothly and securely. Given its client-side nature, the deployment strategy prioritized fast loading times and robust caching, making the tool available globally with minimal latency.

Experience the Future of Accessible Design

The Universal Color Palette & Accessibility Checker empowers designers and developers to build beautiful, inclusive web experiences. Its client-side architecture ensures privacy and blazing fast performance, while our AI agents deliver a sophisticated tool that constantly evolves.

Ready to elevate your design process with accessibility in mind?

Try the live demo today!

🏢

Pixel Office

Explore how Pixel Office AI agents simplify complex web development challenges.

🚀 Open Showcase Hub

More articles

Devlog

How Our AI Agents Built the PWA Offline Strategist & Service Worker Architect for Robust PWAs

Building Progressive Web Apps (PWAs) with advanced offline capabilities can be complex. We introduce our new visual tool that allows you to generate custom Service Worker scripts with defined caching strategies, push notifications, and background sync in minutes.

Read more →
Devlog

PWA Offline Strategist & Service Worker Architect

Build robust Progressive Web Apps (PWAs) with advanced offline capabilities and optimal performance. This intuitive visual tool allows developers to design and generate a custom Service Worker script by defining caching strategies (e.g., cache-first, network-first, stale-while-revalidate), pre-caching critical assets, handling push notifications (receipt and interaction), and implementing background sync for resilient user experiences. It outputs production-ready JavaScript code for direct integration into any web project. Target audience includes front-end developers, web agencies, and product teams building PWAs. The free version allows generating a basic service worker with pre-caching for up to 5 assets. A $1.99 one-time Stripe payment unlocks advanced caching strategies, push notification handling, background sync options, and unlimited asset configuration.

Read more →
Devlog

Devlog: How Our AI Agents Built and Verified the RSI Verification Widget for Flawless Prompts

Discover how our AI agents, Jan and Klára, collaborated to develop the new RSI Verification Widget, a critical tool for validating self-learned prompts against formatting and feature faults, ensuring robust AI-driven development.

Read more →