# Generator Palette Scale

Generate a 50 to 950 colour palette in OKLCH from one brand colour.

- id: `generator-palette-scale`
- Page: https://agentic-ui-kit.com/components/generator-palette-scale
- Live preview: https://agentic-ui-kit.com/live/component/generator-palette-scale?piece=generator-palette-scale

## Install

```bash
agentic-ui add generator-palette-scale
npx shadcn@4.17.0 add @agentic-ui/generator-palette-scale
```

## Metadata

- **Level:** feature
- **Category:** feature
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** oklch-colour-scale, scale-50-to-950, shadcn-token-set, light-and-dark-tokens, tinted-neutral-scale, wcag-contrast-report, contrast-per-token-pair, base-colour-hex-input, chroma-hue-lightness-controls, pin-base-colour, presets, versioned-url-state, css-variables-export, tailwind-v4-theme-export, contrast-report-json-export, copy-to-clipboard, file-download
- **Intents:** configure, create-edit, import-export
- **Suits domains:** saas, analytics, settings, devtools
- **Interaction:** click, keyboard-navigation
- **Screen role:** management
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** generate a 50 to 950 colour palette in OKLCH from one brand colour, create a shadcn theme with light and dark CSS variables from a base colour and check the WCAG contrast, colour scale generator that exports CSS variables and a Tailwind v4 @theme block, theme builder that reports contrast ratio for every foreground and background token pair
- **Avoid when:** Picking a single colour inside a form; use the colour picker field., Full multi-brand theme editing with fonts, radius and shadows; this generator only makes the colour tokens., Gradients; use the gradient builder.
- **Preserve when adapting:** controls-preview-code-layout, fixed-scale-profiles, contrast-report-table
- **Replace when adapting:** presets, sample-content, scale-name
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 8/10, responsive 8/10, accessibility 9/10, code 9/10
- **npm dependencies:** @agentic-ui/generator-foundation, @agentic-ui/motion, @agentic-ui/tokens, react
- **Registry dependencies:** lib-generator-foundation
