Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    UI & Brand Palette Audit (OKLCH / APCA)

    by Dkan

    1

    Audit any UI, logo, or poster palette against OKLCH/APCA contrast, CVD simulation, ΔE drift, and semantic-colour rules — and get a prioritized, actionable fix list.

    Free

    Security scanned
    UI & Brand Palette Audit (OKLCH / APCA)

    UI & Brand Palette Audit (OKLCH / APCA)

    Example session with this skill installed

    Check this UI palette for accessibility and brand alignment: Primary #0055FF, Secondary #FF0055, Background #FFFFFF. Branch is UI.

    • Read your context and instructions
    • Compiled the ui & brand

    The diagnostic for the provided UI palette is complete. The current scheme fails P0 accessibility requirements for primary-on-white contrast and exceeds the recommended saturation for secondary UI elements.

    Color Audit Report: UI Branch

    ComponentColor CodeRoleStatusIssue / Suggestion
    Primary#0055FFAction/LinkMust Change (P0)APCA score < 60. Shift to #004CCB for text readability.
    Secondary#FF0055AccentOptional (P2)High vibration. Reduce chroma in OKLCH to 0.18 for better UX.
    Neutral#FFFFFFBackgroundKeepStandard base. Ensure dark mode mapping is defined.
    Contrast-Ratio CheckFailContrast ratio is 4.1:1. Minimum required is 4.5:1.

    Technical Metrics

    • OKLCH Delta: Primary chroma is slightly out of safe web gamut.
    • CVD Check: Protanopia users may struggle to distinguish Primary from Secondary at current lightness levels.
    • Brand Alignment: Meets "High Energy" vibe but fails "Professional/Trust" baseline.

    Next steps

    1. Apply contrast fix: Update Primary to #004CCB to pass WCAG AA.
    2. Approve iteration: Type "Proceed" to generate a refined 5-color semantic palette.
    3. Store candidate: Type "Save" to add this adjusted scheme to data/palettes.json.

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

    About this skill

    What it does

    Most colour feedback is taste. This skill makes it measurable.

    It audits a palette — website UI, app UI, logo, poster, packaging, or a brand colour board — against explicit colour-engineering rules, then returns a report split into three buckets: keep, must-fix, optional polish. Every finding carries a concrete correction, not an opinion.

    What it checks

    • OKLCH lightness and chroma — whether the ramp has a spine or drifts
    • APCA contrast for text-on-background pairs (WCAG 2.1 as fallback)
    • Colour-vision deficiency — protan, deutan, tritan survival
    • ΔE drift between the intended and rendered colour
    • Semantic colour discipline — does red mean error everywhere, or nowhere
    • Gamut — how much of the palette falls outside sRGB / P3
    • Hue budget — too many hues competing at the same visual weight
    • "AI-template" smell — the generic gradient-on-purple that reads as machine-made

    Two ways in

    1. Extract & store. Point it at a reference image; it extracts the palette, tags it by role and scene, and files it as a candidate entry in a palette library.
    2. Audit & repair. Lock the brand baseline first, then run the ordered pipeline — grid → colour → icons → copy → type hierarchy → layout → detail → imagery → motion — and stop at the colour findings.

    Output is split into keep / must-fix / optional, with a P0–P3 severity on each finding, so you can tell "never ships" from "nice to have".

    What it isn't

    Not a palette generator, not a mood-board toy, and not a colour picker. It judges an existing palette against rules. It also refuses architectural drawings and construction specs — out of scope by design.

    Requirements

    • Python 3.10+ for the two bundled scripts
    • The audit script is stdlib-only — no network calls, no API keys
    • Image extraction needs Pillow + numpy; it reports clearly if either is missing
    • Everything else is Markdown references the agent reads on demand

    License

    MIT. The source is public on GitHub — buy nothing here you could already clone.

    Excludes construction/architectural blueprints. Requires manual verification for color role assignments. AI optimization rounds require explicit user approval for each step.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    • Free with an Agensi account

    Software
    Python 3.10+
    Optional
    Pillownumpy

    Runs two local Python scripts. No network access, no API keys. The audit script is stdlib-only; image extraction additionally needs Pillow and numpy. Writes only to the palette store path the user passes with --store.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Runs two local Python scripts. No network access, no API keys. The audit script is stdlib-only; image extraction additionally needs Pillow and numpy. Writes only to the palette store path the user passes with --store.

    Listed5 days ago

    What's inside

    Frequently Asked Questions

    Unlike basic prompts that rely on subjective 'feel,' this skill uses a 9-stage systematic check powered by APCA and OKLCH algorithms to provide objective, mathematical proof of accessibility and color harmony.

    Two Python scripts — palette extraction and the OKLCH/APCA audit — plus a scoring rubric that rates every finding P0 to P3, five reference documents (colour engine, palette schema, rubric, review principles, polish workflow), and a report template. Everything is plain text your agent reads on demand. No API keys, no hosted service.

    Yes, you can define specific brand baselines and prohibited colors, allowing the skill to flag any deviations from your established identity during the technical diagnosis phase.

    This skill is optimized for branding (logos and ads) and UI (interfaces); however, it is not intended for industrial manufacturing, construction blueprints, or national physical safety standards.

    The skill uses the modern APCA (Accessible Perceptual Contrast Algorithm) standard, which better reflects how the human eye perceives color on screens compared to traditional WCAG 2.1 ratios.

    Nothing beyond Python 3.10+. Send it an image and it extracts the palette and files it as a candidate entry. Ask for an audit ("check this palette", "does this pass contrast") and it runs the full audit and returns a keep / must-fix / optional report with P0-P3 severities. The two paths are deliberately separate: a screenshot alone is reference material, not something to grade.

    No. Both scripts run locally. The audit script is stdlib-only and makes no network calls. Image extraction additionally needs Pillow and numpy, which are marked optional.

    Chinese by default — the rubric and reference docs were written for a Chinese design audience. Ask your agent for English output and it will translate the findings.

    New in UX & UI Design

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for UX & UI Design.

    Free