# Magic Ray gradient

Magic Ray is a pink gradient from WebGradients (MIT), rendered in OKLab.

### Magic Ray

- Slug: `magic-ray` · Page: https://brandsweets.com/gradients/magic-ray
- Stops: #ff3cac @0%, #562b7c @52%, #2b86c5 @100% · angle 135° · source webgradients
- Families: pink, blue, purple · Moods: vivid
- CSS: `linear-gradient(135deg in oklab, #ff3cac 0%, #562b7c 52%, #2b86c5 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#ff3cac] via-[#562b7c] via-52% to-[#2b86c5]`
- Contrast (worst point): white 3.23:1 AA-large · black 2.03:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.ff3cac_0-562b7c_52-2b86c5_100?a=135
- Colors: https://brandsweets.com/colors/ff3cac, https://brandsweets.com/colors/562b7c, https://brandsweets.com/colors/2b86c5

## The same stops in other spaces

- sRGB (the source's own look): `linear-gradient(135deg in srgb, #ff3cac 0%, #562b7c 52%, #2b86c5 100%)`
- OKLCH shorter hue: `linear-gradient(135deg in oklch shorter hue, #ff3cac 0%, #562b7c 52%, #2b86c5 100%)`

Family pages: https://brandsweets.com/gradients/pink, https://brandsweets.com/gradients/blue, 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.
