Skip to content

Color palette generator

Choose one brand colour and get primary, accent and neutral scales from 50 to 950, contrast-checked and ready to export.

Browser + optional AI. The palette is computed in your browser. Only the optional AI brief is sent to our AI provider.

The palette is computed in your browser. Only the optional AI brief is sent to our AI provider.

Primary

Accent

Neutral

Text contrast

  • neutral-900 on neutral-5011.99 Passes AA
  • primary-600 on neutral-504.93 Passes AA
  • neutral-50 on primary-6004.93 Passes AA
  • neutral-50 on primary-7006.92 Passes AA
  • accent-700 on accent-506.69 Passes AA
  • neutral-100 on neutral-90010.78 Passes AA
Export as
palette.css
:root {
  --color-primary-50: #f3f7fe;
  --color-primary-100: #e2ecfe;
  --color-primary-200: #c8dafb;
  --color-primary-300: #a3c1fa;
  --color-primary-400: #75a1f8;
  --color-primary-500: #4780f7;
  --color-primary-600: #2a63e1;
  --color-primary-700: #1b4dbb;
  --color-primary-800: #0e3998;
  --color-primary-900: #042779;
  --color-primary-950: #011856;
  --color-accent-50: #fef6e6;
  --color-accent-100: #fee9c1;
  --color-accent-200: #f0d6a5;
  --color-accent-300: #dabd87;
  --color-accent-400: #be9e60;
  --color-accent-500: #a58239;
  --color-accent-600: #8a6922;
  --color-accent-700: #6f5312;
  --color-accent-800: #583f03;
  --color-accent-900: #412e03;
  --color-accent-950: #2c1e01;
  --color-neutral-50: #f3f7ff;
  --color-neutral-100: #e7ebf4;
  --color-neutral-200: #d4d9e2;
  --color-neutral-300: #bcc1cb;
  --color-neutral-400: #9da3ae;
  --color-neutral-500: #818894;
  --color-neutral-600: #696f7a;
  --color-neutral-700: #535862;
  --color-neutral-800: #3f444c;
  --color-neutral-900: #2e3239;
  --color-neutral-950: #1d2126;
}

How to use it

  1. 1

    Pick your primary colour, or describe your brand and let the AI suggest seed colours.

  2. 2

    Choose how the accent relates to it, or pick your own accent.

  3. 3

    Check the text contrast pairs; aim for AA on everything people read.

  4. 4

    Export as CSS variables, a Tailwind v4 theme or design tokens.

Why scales are built in OKLCH

Each step is placed at an even perceived lightness using the OKLCH colour space, so 400 to 500 looks like the same jump as 600 to 700. Chroma is reduced at the light and dark ends so tints do not look washed out and shades do not turn muddy.

The AI only proposes seed colours and explains them; the scales and contrast figures are calculated, so they are the same every time.

Contrast is not optional

WCAG 2 asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text and interface parts. Check the pairs you will actually use, not just the brand colour on white.

Questions

Which export format should I use?

CSS variables work everywhere. The Tailwind export is a v4 @theme block; the design tokens follow the W3C community group format used by tools like Style Dictionary.

Can I use the palette commercially?

Yes. Colours are not owned, and the output is yours.

Does it work without the AI?

Yes. Everything except the optional brand description runs in your browser.

Updated:

Use your palette on a real site

Every NismaCloud template takes your brand colours and fonts, and checks text contrast as you design.