Named gradient · uiGradients

Opa

Opa is a blue gradient from uiGradients (MIT) — #3d7eaa → #ffe47a at 90°. 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 4.76:1 · AA
white 1.26 failsblack 4.76 AAbanding medium

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.

sRGB34%
OKLab28%
OKLCH85%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #3d7eaa 0%, #4c86a9 7.14%, #5b8ea8 14.29%, #6995a6 21.43%, #779da4 28.57%, #85a4a2 35.71%, #92aba0 42.86%, #a0b39d 50%, #adba9a 57.14%, #bbc196 64.29%, #c8c892 71.43%, #d6cf8d 78.57%, #e3d688 85.71%, #f1dd81 92.86%, #ffe47a 100%);
  background-image: linear-gradient(90deg in oklab, #3d7eaa 0%, #ffe47a 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#3d7eaa] to-[#ffe47a]
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="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#3d7eaa"/><stop offset="7.14%" stop-color="#4c86a9"/><stop offset="14.29%" stop-color="#5b8ea8"/><stop offset="21.43%" stop-color="#6995a6"/><stop offset="28.57%" stop-color="#779da4"/><stop offset="35.71%" stop-color="#85a4a2"/><stop offset="42.86%" stop-color="#92aba0"/><stop offset="50%" stop-color="#a0b39d"/><stop offset="57.14%" stop-color="#adba9a"/><stop offset="64.29%" stop-color="#bbc196"/><stop offset="71.43%" stop-color="#c8c892"/><stop offset="78.57%" stop-color="#d6cf8d"/><stop offset="85.71%" stop-color="#e3d688"/><stop offset="92.86%" stop-color="#f1dd81"/><stop offset="100%" stop-color="#ffe47a"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "opa": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.239,
            0.494,
            0.667
          ],
          "hex": "#3d7eaa"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.894,
            0.478
          ],
          "hex": "#ffe47a"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #3d7eaa 0%, #ffe47a 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Opa",
        "contrast": {
          "white": {
            "ratio": 1.263,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 4.763,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Opa (uiGradients, 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 Opa gradient (#3d7eaa, #ffe47a), 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 uiGradients (MIT) — licences