# Le Cocktail gradient

Le Cocktail is a red gradient from WebGradients (MIT), rendered in OKLab.

### Le Cocktail

- Slug: `le-cocktail` · Page: https://brandsweets.com/gradients/le-cocktail
- Stops: #874da2, #c43a30 · angle 45° · source webgradients
- Families: red, purple · Moods: jewel-tones, sunset
- CSS: `linear-gradient(45deg in oklab, #874da2 0%, #c43a30 100%)`
- Tailwind: `bg-linear-to-tr/oklab from-[#874da2] to-[#c43a30]`
- Contrast (worst point): white 5.25:1 AA · black 3.61:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.874da2-c43a30?a=45
- Colors: https://brandsweets.com/colors/874da2, https://brandsweets.com/colors/c43a30

## The same stops in other spaces

- sRGB (the source's own look): `linear-gradient(45deg in srgb, #874da2 0%, #c43a30 100%)`
- OKLCH shorter hue: `linear-gradient(45deg in oklch shorter hue, #874da2 0%, #c43a30 100%)`

Family pages: https://brandsweets.com/gradients/red, https://brandsweets.com/gradients/purple

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
