Organic Blob Shapes
Soft overlapping blobs from eight-value border-radius, in three palettes, with shuffle and slow morph.
AI prompt
Abstract illustration of three overlapping soft organic blobs in a sunset gradient, coral to magenta to violet, translucent where they overlap, with smooth irregular edges like liquid, a fine film grain texture over the whole image, calm cream background, plenty of empty space for a headline, modern and friendly. Variants: ocean blues and teals, and mint greens with a yellow accent. Negative: sharp polygons, hard outlines, clutter, text, logos. Reduced motion: static image.About this pattern
Definition
Organic blobs are soft, irregular shapes used as backgrounds and decoration in friendly, modern interfaces. In CSS a single element becomes a blob with the eight-value border-radius syntax, which sets a different horizontal and vertical radius for each corner. Animating between random values makes it slowly morph.
When to use it
- border-radius: 60% 40% 55% 45% / 50% 60% 40% 50% gives four horizontal and four vertical radii.
- Use two or three overlapping blobs with different gradients and some transparency.
- Blur softly or add grain for a premium look.
- Keep contrast with text in mind; place content on a plain card above the blobs.
What the controls do
- Three palettes, a Shuffle button and a Morph switch.
Motion & timing
- Shapes ease between values over 1.2 seconds; Morph repeats every few seconds.
- Reduced motion: shapes change instantly on Shuffle and Morph is disabled.
Tips & variations
- Do not animate large blurred areas heavily; it costs battery on phones.
- Keep blobs decorative: hide them from assistive technology.
Code of this live preview
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Palette"><button data-p="0" aria-pressed="true">Sunset</button><button data-p="1" aria-pressed="false">Ocean</button><button data-p="2" aria-pressed="false">Mint</button></div><div class="sc" id="sc" aria-hidden="true"><i id="b0"></i><i id="b1"></i><i id="b2"></i></div><div class="two"><button class="mini" id="sh" type="button">Shuffle</button><label class="sw"><input id="mp" type="checkbox"> Morph</label></div></div>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sc{height:128px;border-radius:12px;position:relative;overflow:hidden;background:#fbf6ee}.sc i{position:absolute;display:block;width:96px;height:96px;opacity:.85;transition:border-radius 1.2s ease-in-out,background .4s}#b0{left:12%;top:10%;background:linear-gradient(135deg,var(--a),var(--b))}#b1{left:38%;top:24%;background:linear-gradient(135deg,var(--b),var(--c));mix-blend-mode:multiply}#b2{left:60%;top:6%;width:84px;height:84px;background:linear-gradient(135deg,var(--c),var(--a));mix-blend-mode:multiply}.mini{height:30px;padding:0 14px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:12px;font-weight:600;cursor:pointer}.mini:disabled{opacity:.4;cursor:default}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sw{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}@media (prefers-reduced-motion:reduce){.sc i{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const PL=[['#ff8a5c','#ff3d8a','#8a4dff'],['#4fc3f7','#2979ff','#26d0b8'],['#7ee0b0','#2fbf8a','#ffe066']],sc=document.getElementById('sc'),mp=document.getElementById('mp'),bs=[...document.querySelectorAll('#pre button')],calm=matchMedia('(prefers-reduced-motion:reduce)').matches;let p=0,tm=null;if(calm)mp.disabled=true;
const rv=()=>{const v=()=>(30+Math.random()*50).toFixed(0)+'%';return [v(),v(),v(),v()].join(' ')+' / '+[v(),v(),v(),v()].join(' ');};
function shuffle(){['b0','b1','b2'].forEach(i=>document.getElementById(i).style.borderRadius=rv());}
function up(){sc.style.setProperty('--a',PL[p][0]);sc.style.setProperty('--b',PL[p][1]);sc.style.setProperty('--c',PL[p][2]);bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));document.getElementById('sh').addEventListener('click',shuffle);mp.addEventListener('change',()=>{clearInterval(tm);if(mp.checked&&!calm){shuffle();tm=setInterval(shuffle,2600);}});shuffle();up();One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Organic Blob Shapes — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sc{height:128px;border-radius:12px;position:relative;overflow:hidden;background:#fbf6ee}.sc i{position:absolute;display:block;width:96px;height:96px;opacity:.85;transition:border-radius 1.2s ease-in-out,background .4s}#b0{left:12%;top:10%;background:linear-gradient(135deg,var(--a),var(--b))}#b1{left:38%;top:24%;background:linear-gradient(135deg,var(--b),var(--c));mix-blend-mode:multiply}#b2{left:60%;top:6%;width:84px;height:84px;background:linear-gradient(135deg,var(--c),var(--a));mix-blend-mode:multiply}.mini{height:30px;padding:0 14px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:12px;font-weight:600;cursor:pointer}.mini:disabled{opacity:.4;cursor:default}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sw{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}@media (prefers-reduced-motion:reduce){.sc i{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Palette"><button data-p="0" aria-pressed="true">Sunset</button><button data-p="1" aria-pressed="false">Ocean</button><button data-p="2" aria-pressed="false">Mint</button></div><div class="sc" id="sc" aria-hidden="true"><i id="b0"></i><i id="b1"></i><i id="b2"></i></div><div class="two"><button class="mini" id="sh" type="button">Shuffle</button><label class="sw"><input id="mp" type="checkbox"> Morph</label></div></div>
</div>
<script>
const PL=[['#ff8a5c','#ff3d8a','#8a4dff'],['#4fc3f7','#2979ff','#26d0b8'],['#7ee0b0','#2fbf8a','#ffe066']],sc=document.getElementById('sc'),mp=document.getElementById('mp'),bs=[...document.querySelectorAll('#pre button')],calm=matchMedia('(prefers-reduced-motion:reduce)').matches;let p=0,tm=null;if(calm)mp.disabled=true;
const rv=()=>{const v=()=>(30+Math.random()*50).toFixed(0)+'%';return [v(),v(),v(),v()].join(' ')+' / '+[v(),v(),v(),v()].join(' ');};
function shuffle(){['b0','b1','b2'].forEach(i=>document.getElementById(i).style.borderRadius=rv());}
function up(){sc.style.setProperty('--a',PL[p][0]);sc.style.setProperty('--b',PL[p][1]);sc.style.setProperty('--c',PL[p][2]);bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));document.getElementById('sh').addEventListener('click',shuffle);mp.addEventListener('change',()=>{clearInterval(tm);if(mp.checked&&!calm){shuffle();tm=setInterval(shuffle,2600);}});shuffle();up();
</script>
</body></html>