# Kraken gradient

Gradients derived from Kraken's published colour tokens (nominative use; no brand assets). Deterministic: the same values are served as `--brand-gradient*` in the brand's brand.css.

- Page: https://brandsweets.com/gradients/brands/kraken-com
- Brand colors: https://brandsweets.com/colors/brands/kraken-com · Brand page: https://brandsweets.com/b/kraken-com
- Palette: primary #331469, secondary #5c29be, accents #00adfe
- Source: https://kraken.com (extracted 2026-09-02)

## Brand gradient

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

## Hero background

Chroma ×0.35 so it can carry text; ink white (inkFor at the midpoint). Passes AA for that ink at the worst point (7.68:1) without adjusting L.

- CSS: `linear-gradient(135deg in oklab, #2e2843 0%, #554d7b 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#2e2843] to-[#554d7b]`
- Contrast (worst point): white 7.68:1 AA · black 1.50:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.2e2843-554d7b?a=135

## Button / CTA

ΔL 0.08 top→bottom in the primary's hue (a lit surface, not a rainbow); hover L +0.03, active L −0.03. White ink passes AA on the surface and both states (worst 11.15:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #3d2175 0%, #2a055d 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#3d2175] to-[#2a055d]`
- Contrast (worst point): white 12.55:1 AA · black 1.28:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.3d2175-2a055d?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #442a7f 0%, #311066 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #35176c 0%, #230054 100%)`

## Tonal ramp

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

## Analogous

Partner hue from the analogous rule at the source colour's lightness.

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

## Complementary

Partner hue from the complementary rule at the source colour's lightness. ΔH 180° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

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

## Triadic

Partner hue from the triadic rule at the source colour's lightness.

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

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 8.35:1 AA, black 1.45:1 */
  --brand-gradient: linear-gradient(135deg in oklab, #331469 0%, #5c29be 100%);
  /* hero — worst-case contrast: white 7.68:1 AA, black 1.50:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklab, #2e2843 0%, #554d7b 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 12.55:1 AA, black 1.28:1 */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #3d2175 0%, #2a055d 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #442a7f 0%, #311066 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #35176c 0%, #230054 100%);
  --brand-gradient-button-ink: #ffffff;
}
```

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