# Synaesthetic Color Palette & WCAG Auditor

> Turn any mood, scene, or sensory description into a 5-role UI color palette with WCAG 2.1 contrast checks, auto-fixes, and ready-to-use code tokens.

Synaesthetic Color Palette & WCAG Auditor is a free AI agent skill on Agensi by Saran Boddu. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Saran Boddu](https://www.agensi.io/creators/saran-boddu)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/synaesthetic-color-palette-wcag-auditor
- Tags: ux-ui-design, branding-design, frontend-web-apps

## What it does

- Turns any mood, story, or scene description into five matched brand and UI colors
- Checks every text and background pairing for readability using contrast standards
- Suggests automatic shade adjustments to fix low-contrast color combinations
- Converts every color into hex, RGB, HSL, CMYK, and print-ready values
- Exports ready-to-paste code tokens for CSS, Tailwind, SCSS, and Figma

## Who it's for

- **Product and UI/UX designers building accessible themes:** Generate mood-driven palettes that pass contrast checks before they hit Figma. Try: "Create a triadic palette for an abandoned Victorian greenhouse with glowing moss at dusk"
- **Web developers styling React, Tailwind, or CSS apps:** Get 5 semantic color roles and copy-paste CSS or Tailwind v4 theme variables in seconds. Try: "Give me a cyberpunk Tokyo rain palette and export it as Tailwind v4 @theme variables"
- **Founders and indie makers launching a new brand:** Turn your brand story or vibe into a cohesive visual identity with clear color rationales. Try: "Design a warm, rustic matcha ceramic studio palette with high-contrast accent colors"
- **Accessibility specialists reviewing color contrast:** Audit foreground/background pairings against WCAG AA/AAA and get closest passing shades. Try: "Audit this palette for WCAG AA contrast and auto-fix any failing pairs"

## About this skill

### The Problem It Solves
Choosing colors from a mood or scene description usually leaves you with pretty swatches that fail real-world UI contrast, lack clear semantic roles, and require manual conversion into CSS or Tailwind tokens.

### How It Works
**Synaesthetic Color Palette & WCAG Auditor** translates any emotional scene, poetic prompt, or sensory memory (in any language) into a structured **5-role semantic color system** (`primary`, `secondary`, `accent`, `background`, `surface`), then runs full colorimetric verification:
1. **Sensory & Harmony Mapping**: Extracts lighting, temperature, and texture cues while applying your chosen harmony (`triadic`, `complementary`, `analogous`, `monochromatic`, `split-complementary`, or `freeform`).
2. **WCAG 2.1 Contrast Matrix**: Computes linearized sRGB relative luminance ($L$) and contrast ratios across all 6 core UI pairings.
3. **Perceptual Lightness Auto-Fix**: If any pairing falls below WCAG AA (`4.5:1`), it calculates the nearest lightness-adjusted hex shade (preserving hue and saturation) that passes.
4. **Multi-Space & CVD Audit**: Reports HEX, RGB, HSL, CMYK, HSV, CIE76 Delta-E separation, and flags Protanopia/Deuteranopia/Tritanopia risks.
5. **Developer Token Exports**: Outputs ready-to-use CSS Custom Properties, Tailwind CSS v4 `@theme`, Tailwind v3 config, and SCSS maps.

### Why This Beats Prompting It Yourself
Generic AI prompts guess hex codes without checking sRGB gamma linearization, WCAG contrast math, or semantic role separation. This skill enforces exact W3C luminance equations, bounded HSL auto-correction, and standardized 5-role design tokens every time.

### Use Cases
- Turning product briefs or mood boards into production UI themes
- Auditing and auto-fixing low-contrast brand palettes for WCAG AA/AAA
- Exporting ready-to-paste Tailwind CSS v4 or CSS variable design tokens

### Known Limitations
- Produces color specifications, contrast tables, and code token files rather than rendering a live interactive browser sandbox.

## Requires

Nothing beyond your AI agent.

## Technical details

Follows the Universal SKILL.md standard and works in Claude Code, Codex CLI, Cursor, VS Code Copilot, and Gemini CLI. Includes references/color-science-reference.md (W3C sRGB relative luminance, WCAG 2.1 contrast ratio, bounded HSL lightness auto-correction, and CIE76 Delta-E) and references/export-templates.md (CSS variables, Tailwind v3/v4, SCSS). Runs locally in the agent with optional file writes for token exports.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Synaesthetic Color Palette & WCAG Auditor skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Do I need any API keys or software installed to use this skill?

No. All sensory color mapping, WCAG 2.1 contrast math, CIE Delta-E calculations, and code token exports run directly inside your AI agent with zero external API keys or packages.

### Can I enter prompts in languages other than English?

Yes. You can write prompts in any language (Japanese, Spanish, French, Hindi, etc.) and the skill preserves the emotional and sensory mood while generating English rationales and tokens.

### How does the WCAG contrast auto-fix preserve my original colors?

The skill holds your original Hue and Saturation constant while searching HSL lightness (0-100%) for the closest shade that reaches at least a 4.5:1 contrast ratio against the target background.

### Can I audit an existing brand palette instead of generating a new one?

Yes. Just paste your existing hex codes and ask the skill to audit them against WCAG 2.1 AA/AAA and suggest auto-corrected shades.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
