---
name: Theme Palette Generator
description: Generate accessible OKLCH color palettes for UI theming via the Nexus content job API
---

# Theme Palette Generator

Generate a complete UI color palette from a seed color. Uses OKLCH color space for perceptually uniform, accessible color scales with WCAG contrast ratios.

## Usage

Submit a content job via `POST /api/companies/{companyId}/content-jobs`:

```json
{
  "jobType": "theme-palette",
  "input": {
    "seedColor": "#6366f1",
    "name": "Indigo Theme"
  }
}
```

**Fields:**
- `seedColor` (required): Hex color used as the primary brand color
- `name` (optional): Human-readable name for the theme

## Output

The job returns a `ThemePaletteBundle` with:
- `colors`: Named color tokens (primary, surface, accent, text, border scales)
- `wcagReport`: Contrast ratios for foreground/background pairs
- `cssVars`: Ready-to-use CSS custom property declarations
