Claude Color Palette Prompt for UI Design🎨

Turns a brand description or mood into a complete UI color system primary, secondary, accent, neutrals, and semantic states (success/error/warning) with hex codes and contrast-safe pairings, ready to drop into a design system.

Most “give me a color palette” prompts return five hex codes and nothing else no sense of which color does what, no accessibility check, nothing a developer could actually implement. This prompt is built for people who need a usable palette, not a mood board: it forces the model to assign a role to every color (primary action, secondary, background, border, text) and to name semantic states separately, so nothing gets left ambiguous when it’s time to build.

It’s aimed at solo founders, indie developers, and designers who need a defensible starting palette fast someone who can describe their brand in a sentence but doesn’t want to open a color theory textbook to get from there to a working UI.

What makes it hold up:

  • Semantic roles (success, error, warning, info) are requested explicitly, not left for the model to improvise later when it’s less consistent
  • WCAG contrast is asked for by name against both light and dark backgrounds, not just “make sure it’s readable”
  • {brand_description} and {mood} are separate variables, so a fintech app going for “trustworthy, calm” produces a genuinely different palette than the same industry going for “bold, energetic” the prompt doesn’t just reskin one generic blue-and-gray output

The trade-off: this is a starting system, not a finished one. See the Pro tips for what to do with the output before you ship it.

For more information, you can read WCAG contrast guideline documentation & you can also check contrast colors in WebAIM’s contrast checker tool.