Colour to colour

Hunter Green to Dark Orchid gradient

Hunter Green (#355e3b) into Dark Orchid (#9932cc) — 164° apart on the OKLCH hue wheel. Below: the same two stops interpolated in OKLab and in OKLCH, side by side, because the difference is real and most generators never let you see it; then an eased version and a mesh, each with the worst-case contrast for white and black text. The engine's own pick for this pair is oklch: ΔH 164° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

Hunter Green → Dark Orchid
white text · worst 5.69:1 · AA
white 5.69 AAblack 2.81 failsbanding high

OKLab and OKLCH, side by side

Aa

A straight line through the a/b plane: the two hues meet halfway and desaturate a little at the midpoint. The safe default — it is what CSS and Tailwind default to.

white 5.69 AAblack 2.82 failsbanding high
css
linear-gradient(135deg in oklab, #355e3b 0%, #9932cc 100%)
Aa

OKLCH (shorter hue)

Open in maker →

Chroma and hue interpolate separately, so the midpoint keeps its saturation and the hue travels the short way round the wheel — richer, and it can pass through hues neither colour has.

white 5.69 AAblack 2.81 failsbanding high
css
linear-gradient(135deg in oklch shorter hue, #355e3b 0%, #9932cc 100%)

And the sRGB line most tools draw, for comparison — the number is the chroma that survives at the dullest point.

sRGB11%
OKLab10%
OKLCH49%

Eased and mesh

Aa

Eased (soft)

Open in maker →

A cubic-bezier(.4, 0, .6, 1) mix ratio baked into 15 stops: the transition lingers on each colour and moves faster through the middle, which is what makes a gradient read as designed rather than default.

white 5.69 AAblack 2.81 failsbanding high
css
linear-gradient(135deg in oklch shorter hue, #355e3b 0%, #325f3d 8.28%, #276242 16.03%, #04664b 23.35%, #006a5b 30.32%, #006b6d 37.03%, #006c80 43.56%, #006b97 50%, #0066bb 56.44%, #2d5dcd 62.97%, #5752d6 69.68%, #7446d7 76.65%, #883cd3 83.97%, #9535ce 91.72%, #9932cc 100%)
Aa

Both colours as stacked radials over a base, laid out by a seeded Poisson-disc sampler — the same seed gives the same mesh forever. Exports as CSS, SVG and PNG.

white 6.42 AAblack 2.92 failsbanding high
css
background-color: #6b5585;
background-image: radial-gradient(circle farthest-corner at 99.42% 57.19%, rgba(153, 50, 204, 0.81) 0%, rgba(153, 50, 204, 0) 48.79%), radial-gradient(circle farthest-corner at 50.87% 73.07%, rgba(53, 94, 59, 0.805) 0%, rgba(53, 94, 59, 0) 53.04%);
background-image: radial-gradient(circle farthest-corner at 99.42% 57.19%, oklch(from #9932cc l c h / 0.8095) 0%, rgb(from #9932cc r g b / 0) 48.79%), radial-gradient(circle farthest-corner at 50.87% 73.07%, oklch(from #355e3b l c h / 0.8046) 0%, rgb(from #355e3b r g b / 0) 53.04%);

Report

  • white ink: worst 5.69:1 at 100% (AA); black ink: worst 2.81:1 at 1% (fails AA) → use white text.
  • Banding high: ~10px bands at 1440px — add grain 21 (≈2% soft-light noise) or shorten the ramp.
  • 12/64 samples left sRGB by more than 5% and were gamut-mapped (oklch shorter); expect slight hue drift there.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #355e3b 0%, #216344 7.14%, #006750 14.29%, #006b5e 21.43%, #006b6c 28.57%, #006c79 35.71%, #006c87 42.86%, #006b97 50%, #0069ac 57.14%, #0063c3 64.29%, #305cce 71.43%, #5154d5 78.57%, #6b4ad7 85.71%, #833fd4 92.86%, #9932cc 100%);
  background-image: linear-gradient(135deg in oklch shorter hue, #355e3b 0%, #9932cc 100%);
}
tailwind v4
bg-linear-to-br/oklch from-[#355e3b] to-[#9932cc]
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="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#355e3b"/><stop offset="7.14%" stop-color="#216344"/><stop offset="14.29%" stop-color="#006750"/><stop offset="21.43%" stop-color="#006b5e"/><stop offset="28.57%" stop-color="#006b6c"/><stop offset="35.71%" stop-color="#006c79"/><stop offset="42.86%" stop-color="#006c87"/><stop offset="50%" stop-color="#006b97"/><stop offset="57.14%" stop-color="#0069ac"/><stop offset="64.29%" stop-color="#0063c3"/><stop offset="71.43%" stop-color="#305cce"/><stop offset="78.57%" stop-color="#5154d5"/><stop offset="85.71%" stop-color="#6b4ad7"/><stop offset="92.86%" stop-color="#833fd4"/><stop offset="100%" stop-color="#9932cc"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "hunter-green-to-darkorchid": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.208,
            0.369,
            0.231
          ],
          "hex": "#355e3b"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.6,
            0.196,
            0.8
          ],
          "hex": "#9932cc"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklch shorter hue, #355e3b 0%, #9932cc 100%)",
        "interpolation": "oklch",
        "hue": "shorter",
        "angle": 135,
        "name": "hunter-green-to-darkorchid",
        "contrast": {
          "white": {
            "ratio": 5.691,
            "at": 0.9968,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.81,
            "at": 0.005,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Hunter Green to Dark Orchid, interpolated in oklch."
  }
}

More from Hunter Green

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

make a hunter green to dark orchid hero gradient in oklch that passes AA for white text, with grain if it bands

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

Machine-readable: gradients.md