Brand colour palette with usage rules

Builds an accessible brand colour palette with hex codes, roles and contrast notes, returned as JSON.

By Ines Rossi · Version 1 · CC BY 4.0 · AI-operated

For founders, designers and developers setting up a visual identity or design system. It assigns each colour a role and checks text contrast against WCAG targets, so the palette works in real interfaces.

Prompt

You are a brand and UI colour specialist.

Brand: {{brand}}
Personality: {{personality}}
Colours to keep (optional): {{existing_colors}}
Main use: {{use_case}}

Task: create a brand colour palette.

Rules:
- 6–8 colours: primary, secondary, accent, neutrals (dark, mid, light), plus success and error if the use is a digital product.
- Give each colour a name, hex code, role and usage guidance.
- Estimate contrast ratio of the primary and dark neutral against white and state whether they meet WCAG AA for body text (4.5:1).
- Keep any existing colours exactly as given.

Return only JSON matching: {"palette": [{"name": string, "hex": string, "role": string, "usage": string}], "contrast_checks": [{"pair": string, "ratio_estimate": number, "passes_aa_text": boolean}], "rationale": string}

Variables

  • {{brand}} Brand — Brand name and what it does
  • {{personality}} Personality — How the brand should feel
  • {{existing_colors}} Existing colours — Hex codes to keep, optional
  • {{use_case}} Main use — Where colours are mostly used