Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Figma Contrast Check — WCAG AA (Lite)

    2

    Checks every text node in a Figma frame against WCAG AA contrast — including text on photo and gradient backgrounds — before a single line of code gets written.

    Free

    4 installs4.0 (1 review)
    Figma Contrast Check — WCAG AA (Lite)

    Figma Contrast Check — WCAG AA (Lite)

    Example session with this skill installed

    Check the WCAG AA contrast on this Figma frame before I start building it: https://www.figma.com/design/saVgYY1herfOrXxnP7UNtA/figma-optimize_from_Claude?node-id=35-108

    • Read your context and instructions
    • Compiled the figma contrast check

    Contrast check report (WCAG AA)

    #LayerSample textSize / WeightFGBG (resolved)RatioRequiredVerdict
    1hero > heading"海とプール、ふたつの水辺を独り占めする"50px Regular#FFFFFF———⚠️ Manual check — background is a photo with a 35% dark overlay, not fully opaque
    2hero > cta-row tagline"限定12室のプライベートヴィラ"12px SemiBold#FFFFFF———⚠️ Manual check — same photo background
    3header > logo"CORAL TERRACE"28px Regular#123F3B#FFFFFF11.67:13:1 (large)✅ Pass
    4header > cta button"宿泊予約について問い合わせる"12px Bold#FFFFFF#8A3F2B7.43:14.5:1✅ Pass
    5villa-experience > section label (eng)"VILLA SPACES"14px Medium#B56A4A#FFFFFF4.10:14.5:1❌ Fail
    6villa-experience > section label (jp)"水辺と対話するプライベート空間"21px SemiBold#123F3B#FFFFFF11.67:14.5:1✅ Pass
    7location-graphic > badge"海に囲まれた、静寂のトポグラフィ"12px Regular#FFFFFF#123F3B11.67:14.5:1✅ Pass
    8location-text > note"※詳細な道程とアクセスは、ご予約が確定したゲストへ..."14px SemiBold#B56A4A#FFFFFF4.10:14.5:1❌ Fail
    9final-cta > eyebrow"RESERVATION"14px SemiBold#B56A4A#123F3B2.85:14.5:1❌ Fail
    10final-cta > heading"12室だけの、静かな休暇へ"38px Light#F5F1E8#123F3B10.35:13:1 (large)✅ Pass
    11final-cta > guidance"※スムーズなご案内のため、お問い合わせ前に..."12px Medium, 70% opacity#B8C5C4#123F3B6.59:14.5:1✅ Pass
    12footer > brand subtitle"12 PRIVATE POOL VILLAS IN OKINAWA"12px SemiBold#B56A4A#FFFFFF4.10:14.5:1❌ Fail
    13footer > nav link"プライバシーポリシー"14px Medium#123F3B#FFFFFF11.67:14.5:1✅ Pass

    Summary: 7 passed / 4 failed / 2 need manual check (out of 13 total)

    The same terracotta (#B56A4A) fails in four separate places — against white in three spots and against the dark green brand background once. One color-token fix would resolve all four failures at once.

    The full figma-contrast-check skill can auto-fix the four failing rows (with confirmation) once installed.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Color accessibility usually gets caught late — after a page is built, when a contrast fix becomes a design-vs-code back-and-forth. This skill runs the same WCAG math against the Figma file itself, so contrast problems get caught at the design stage, before implementation starts.

    What it does

    • Walks every text node inside a Figma FRAME, SECTION, COMPONENT, or COMPONENT_SET — including text inside component instances, which a surface-level check would miss
    • Resolves each text segment's real foreground color individually, instead of guessing one color for a mixed-color text run
    • Resolves the true effective background by compositing through covering siblings, parent fills, and opacity stacking — not just the nearest parent's fill
    • Flags text sitting on a photo or gradient background as a manual check instead of guessing a ratio from one sample pixel
    • Classifies large vs normal text per the WCAG point-size rule and checks against the correct threshold (3:1 or 4.5:1)

    How it works

    1. Takes a Figma frame, section, component, or component set URL
    2. Scans every text node depth-first, including inside instances, skipping anything hidden or fully transparent
    3. For each text segment, resolves the foreground and effective background color, computes the contrast ratio, and classifies it against WCAG AA
    4. Reports a table: layer, sample text, size and weight, resolved colors, ratio, required minimum, and pass, fail, or manual-check verdict

    Why this beats prompting it yourself

    Standard LLM prompts cannot "see" the raw hex values or the stacking order of Figma layers without direct API access. This skill resolves effective colors through nested instances and opacity levels, giving technical accuracy that visual inspection lacks.

    What it is not

    This is a read-only report — it never edits the Figma file. WCAG AA only, text contrast only. AAA conformance, an advisory pass on non-text UI elements like borders and icons, and confirmation-gated auto-fixing of failing colors are covered by the full figma-contrast-check skill instead.

    Requirements

    Runs inside an agent connected to the official Figma MCP server — the same connection used for implementing Figma designs as code. No local file access, no arbitrary network calls, and it never writes to your Figma file.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    4.0
    1 review
    5
    0
    4
    1
    3
    0
    2
    0
    1
    0

    4 people have installed this skill.

    Trust & safety

    Security scanned

    Verified clean 24 days ago

    • Free to download with an account

    Requires

    Figma

    Listed24 days ago

    What's inside

    Frequently Asked Questions