Named gradient · uiGradients

Slight Ocean View

Slight Ocean View is a blue gradient from uiGradients (MIT) — #a8c0ff → #3f2b96 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 2.00:1 · fails
white 1.80 failsblack 2.00 failsbanding 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.

sRGB72%
OKLab72%
OKLCH72%

Report

  • white ink: worst 1.80:1 at 0% (fails AA); black ink: worst 2.00:1 at 100% (fails AA) → use black text.
  • Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
  • Banding medium: ~10px bands at 1440px — add grain 20 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #a8c0ff 0%, #a0b5f8 7.14%, #97abf0 14.29%, #8fa0e9 21.43%, #8795e1 28.57%, #7f8bda 35.71%, #7780d2 42.86%, #6f76cb 50%, #686cc3 57.14%, #6061bc 64.29%, #5957b4 71.43%, #524cad 78.57%, #4c42a5 85.71%, #45379e 92.86%, #3f2b96 100%);
  background-image: linear-gradient(90deg in oklab, #a8c0ff 0%, #3f2b96 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#a8c0ff] to-[#3f2b96]
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="#a8c0ff"/><stop offset="7.14%" stop-color="#a0b5f8"/><stop offset="14.29%" stop-color="#97abf0"/><stop offset="21.43%" stop-color="#8fa0e9"/><stop offset="28.57%" stop-color="#8795e1"/><stop offset="35.71%" stop-color="#7f8bda"/><stop offset="42.86%" stop-color="#7780d2"/><stop offset="50%" stop-color="#6f76cb"/><stop offset="57.14%" stop-color="#686cc3"/><stop offset="64.29%" stop-color="#6061bc"/><stop offset="71.43%" stop-color="#5957b4"/><stop offset="78.57%" stop-color="#524cad"/><stop offset="85.71%" stop-color="#4c42a5"/><stop offset="92.86%" stop-color="#45379e"/><stop offset="100%" stop-color="#3f2b96"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "slight-ocean-view": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.659,
            0.753,
            1
          ],
          "hex": "#a8c0ff"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.247,
            0.169,
            0.588
          ],
          "hex": "#3f2b96"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #a8c0ff 0%, #3f2b96 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Slight Ocean View",
        "contrast": {
          "white": {
            "ratio": 1.803,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.997,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Slight Ocean View (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 Slight Ocean View gradient (#a8c0ff, #3f2b96), 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