Named gradient · WebGradients

Teen Notebook

Teen Notebook is a blue gradient from WebGradients (MIT) — #9795f0 → #fbc8d4 at 0°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.

Aa — the quick brown fox
black text · worst 7.87:1 · AA
white 1.47 failsblack 7.87 AAbanding high

Same stops, three spaces

The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.

sRGB60%
OKLab60%
OKLCH63%

Report

  • white ink: worst 1.47:1 at 100% (fails AA); black ink: worst 7.87:1 at 0% (AA) → use black text.
  • Banding high: ~14px bands at 1440px — add grain 30 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #9795f0 0%, #9e99ee 7.14%, #a59ded 14.29%, #aca1eb 21.43%, #b3a5ea 28.57%, #baa8e8 35.71%, #c1ace6 42.86%, #c8b0e4 50%, #cfb3e2 57.14%, #d7b7e0 64.29%, #debade 71.43%, #e5bedb 78.57%, #ecc1d9 85.71%, #f4c5d7 92.86%, #fbc8d4 100%);
  background-image: linear-gradient(0deg in oklab, #9795f0 0%, #fbc8d4 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#9795f0] to-[#fbc8d4]
svg
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#9795f0"/><stop offset="7.14%" stop-color="#9e99ee"/><stop offset="14.29%" stop-color="#a59ded"/><stop offset="21.43%" stop-color="#aca1eb"/><stop offset="28.57%" stop-color="#b3a5ea"/><stop offset="35.71%" stop-color="#baa8e8"/><stop offset="42.86%" stop-color="#c1ace6"/><stop offset="50%" stop-color="#c8b0e4"/><stop offset="57.14%" stop-color="#cfb3e2"/><stop offset="64.29%" stop-color="#d7b7e0"/><stop offset="71.43%" stop-color="#debade"/><stop offset="78.57%" stop-color="#e5bedb"/><stop offset="85.71%" stop-color="#ecc1d9"/><stop offset="92.86%" stop-color="#f4c5d7"/><stop offset="100%" stop-color="#fbc8d4"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "teen-notebook": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.592,
            0.584,
            0.941
          ],
          "hex": "#9795f0"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.984,
            0.784,
            0.831
          ],
          "hex": "#fbc8d4"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #9795f0 0%, #fbc8d4 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Teen Notebook",
        "contrast": {
          "white": {
            "ratio": 1.467,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.873,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Teen Notebook (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More blue gradients

mcpConnect your agent to the gradient engine
live endpoint

Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

take the Teen Notebook gradient (#9795f0, #fbc8d4), re-interpolate it in oklch, and tell me the worst-case contrast for white text

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: gradients.md · From WebGradients (MIT) — licences