# Lilac to Cream gradient

Lilac (#c8a2c8) to Cream (#fffdd0), interpolated perceptually. The engine's pick for this pair is oklab.

- Page: https://brandsweets.com/gradients/lilac-to-cream
- Colors: https://brandsweets.com/colors/lilac, https://brandsweets.com/colors/cream
- Reverse: https://brandsweets.com/gradients/cream-to-lilac

## OKLab

- CSS: `linear-gradient(135deg in oklab, #c8a2c8 0%, #fffdd0 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#c8a2c8] to-[#fffdd0]`
- Contrast (worst point): white 1.04:1 fail · black 9.46:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.c8a2c8-fffdd0?a=135

## OKLCH (shorter hue)

- CSS: `linear-gradient(135deg in oklch shorter hue, #c8a2c8 0%, #fffdd0 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#c8a2c8] to-[#fffdd0]`
- Contrast (worst point): white 1.04:1 fail · black 9.46:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.c8a2c8-fffdd0?a=135&in=oklch&hue=shorter

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #c8a2c8 0%, #c9a3c8 8.28%, #cba7c9 16.03%, #ceadca 23.35%, #d3b4cb 30.32%, #d8bccc 37.03%, #dec6cd 43.56%, #e3cfce 50%, #e9d9ce 56.44%, #efe2cf 62.97%, #f4ebcf 69.68%, #f8f2d0 76.65%, #fcf8d0 83.97%, #fefcd0 91.72%, #fffdd0 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#c8a2c8_0%,#c9a3c8_8.28%,#cba7c9_16.03%,#ceadca_23.35%,#d3b4cb_30.32%,#d8bccc_37.03%,#dec6cd_43.56%,#e3cfce_50%,#e9d9ce_56.44%,#efe2cf_62.97%,#f4ebcf_69.68%,#f8f2d0_76.65%,#fcf8d0_83.97%,#fefcd0_91.72%,#fffdd0_100%)]`
- Contrast (worst point): white 1.04:1 fail · black 9.46:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.c8a2c8-fffdd0?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 78.39% 70.52%, oklch(from #c8a2c8 l c h / 0.7056) 0%, rgb(from #c8a2c8 r g b / 0) 53.47%), radial-gradient(circle farthest-corner at 40.62% 64.77%, oklch(from #fffdd0 l c h / 0.7723) 0%, rgb(from #fffdd0 r g b / 0) 51.68%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_78.39%_70.52%,oklch(from_#c8a2c8_l_c_h_/_0.7056)_0%,rgb(from_#c8a2c8_r_g_b_/_0)_53.47%),radial-gradient(circle_farthest-corner_at_40.62%_64.77%,oklch(from_#fffdd0_l_c_h_/_0.7723)_0%,rgb(from_#fffdd0_r_g_b_/_0)_51.68%)]`
- Contrast (worst point): white 1.35:1 fail · black 11.23:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.c8a2c8-fffdd0?k=mesh&seed=lilac-to-cream

## 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.
