- Home
- Skills
- UX & UI Design
- UI & Brand Palette Audit (OKLCH / APCA)
Works with the AI Agents you already use
UI & Brand Palette Audit (OKLCH / APCA)
by Dkan
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
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
| Component | Color Code | Role | Status | Issue / Suggestion |
|---|---|---|---|---|
| Primary | #0055FF | Action/Link | Must Change (P0) | APCA score < 60. Shift to #004CCB for text readability. |
| Secondary | #FF0055 | Accent | Optional (P2) | High vibration. Reduce chroma in OKLCH to 0.18 for better UX. |
| Neutral | #FFFFFF | Background | Keep | Standard base. Ensure dark mode mapping is defined. |
| Contrast | - | Ratio Check | Fail | Contrast 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
- Apply contrast fix: Update Primary to
#004CCBto pass WCAG AA. - Approve iteration: Type "Proceed" to generate a refined 5-color semantic palette.
- 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
- 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.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
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.
What's inside
Frequently Asked Questions
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.