# SoFi gradient

Gradients derived from SoFi'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/sofi-com
- Brand colors: https://brandsweets.com/colors/brands/sofi-com · Brand page: https://brandsweets.com/b/sofi-com
- Palette: primary #212121, secondary #00a2c7, accents #1f1645
- Source: https://sofi.com (extracted 2026-09-05)

## Brand gradient

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

## Hero background

Chroma ×0.35 so it can carry text; ink white (inkFor at the midpoint). L shifted −0.10 until the ink passes AA at the worst point (4.57:1).

- CSS: `linear-gradient(135deg in oklab, #0d0d0d 0%, #587b87 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#0d0d0d] to-[#587b87]`
- Contrast (worst point): white 4.57:1 AA · black 1.08:1 fail · banding medium · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.0d0d0d-587b87?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 12.82:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #2b2b2b 0%, #181818 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#2b2b2b] to-[#181818]`
- Contrast (worst point): white 14.16:1 AA · black 1.18:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.2b2b2b-181818?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #323232 0%, #1f1f1f 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #232323 0%, #111111 100%)`

## Tonal ramp

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

## Analogous

Primary #212121 is achromatic — harmony rotates #00a2c7 instead. Partner hue from the analogous rule at the source colour's lightness.

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

## Complementary

Primary #212121 is achromatic — harmony rotates #00a2c7 instead. 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, #00a2c7 0%, #f15a00 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#00a2c7] to-[#f15a00]`
- Contrast (worst point): white 2.99:1 fail · black 6.12:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.00a2c7-f15a00?a=135&in=oklch&hue=shorter

## Triadic

Primary #212121 is achromatic — harmony rotates #00a2c7 instead. Partner hue from the triadic rule at the source colour's lightness.

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

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 3.00:1 AA-large, black 1.30:1 */
  --brand-gradient: linear-gradient(135deg in oklab, #212121 0%, #00a2c7 100%);
  /* hero — worst-case contrast: white 4.57:1 AA, black 1.08:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklab, #0d0d0d 0%, #587b87 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 14.16:1 AA, black 1.18:1 */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #2b2b2b 0%, #181818 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #323232 0%, #1f1f1f 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #232323 0%, #111111 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.
