AI Generated Website Purple Gradient: The Default Gradient and Glassmorphism Look

IssueAi Slop DetectionFrequencyCommonCategoryHuman Machine InterfacePublishedView source on GitHub ↗

Frequency: Common

Issue: AI-built web pages default to purple gradients and frosted-glass cards. Give the tool brand tokens and check every generated screen before you ship.

One line: You ask an AI tool for a landing page and get the same indigo-to-purple hero and translucent “glass” cards as every other AI demo, often with text that is hard to read on the glass; the fix is to hand the tool your palette as tokens and run a check that flags off-token colors, decorative gradients and glass under text before merge.

ChannelVisual: web UIs generated by AI coding and design tools (v0, Lovable, Bolt, Cursor, Claude, ChatGPT and similar). Native mobile is PLANNED, not written.
StakesLow to medium. The page looks unbranded and “AI-made”. Stakes rise when glass hides prices, terms or form labels.
Who is affectedDevelopers shipping AI-generated UI, and their users; people with low vision feel the glass contrast problem most
FrequencyCommon. One tool maker (Anthropic) writes that without guidance its model almost always produces this look (section 4). I found no count across tools.
Pattern IDui-default-gradient-look
FamilyAI slop detection
GoalPeople and tools can spot output that was produced by AI without care, in design, writing, code, images and data, and the builder can catch it before users do.
Primary metricShare of generated UI screens flagged by the default-look rule that ship with no recorded reason. Proposed starting target: under 10% (tune).
MaturityResearched (see the content program)
Will a better model fix this?Partly. Prompting moves the model off the default, but Anthropic reports it then drifts to another common choice, and contrast on glass is a measurement, not taste. (Our judgment, not tested.)
Also searched aswhy do all ai websites look the same · ai website purple gradient · ai slop ui · glassmorphism text hard to read · v0 lovable generic design · tailwind indigo default

1. In plain words

When you give an AI tool a vague request like “build a landing page”, it fills every blank with the most common answer it has seen. For color, that answer is often an indigo-to-purple gradient on white, plus see-through “glass” cards. The page works, but visitors recognize it as AI-made, and text on the glass can be hard to read.

2. What it looks like

Without the fix (builder prompting an AI tool, no review step)

Builder: Build a landing page for Ridgeline, a bookkeeping app for Denver contractors.
Tool:    Done. Hero: gradient from-indigo-500 to-purple-600, centered white headline.
         Features: three cards, bg-white/10 backdrop-blur-lg, white body text.
         Pricing: the same glass cards, sitting over the gradient.
Builder: Looks modern. Ship it.
         (No contrast check runs. On the pricing card, "$29 per month, billed yearly"
         sits on the lightest part of the gradient. The client says it looks like
         every other AI demo they have seen.)

With the fix (palette given up front, checker runs before merge)

Builder: Build a landing page for Ridgeline. Use only the tokens in tokens.css:
         --ink #1B2430, --paper #F2F4F5, --brand #0F5E8C, --accent #C2410C.
         No decorative gradients. No translucent fill under text.
Tool:    Hero: --paper background, --ink headline, one --brand button.
         Pricing cards: opaque --paper fill, 1px --ink border, --accent price tag.
Checker: 0 colors outside tokens. 0 gradients. 0 backdrop-filter.
         Every text pair measured: lowest is above 4.5:1. Pass.

The tool got a palette instead of a blank, and the checker measured the result instead of trusting the screenshot.

3. Why it happens

  • The most common color wins. Anthropic calls this distributional convergence: with no direction, the model samples from the high-probability center of web training data. One developer’s essay traces the purple to Tailwind UI demos that used bg-indigo-500 (secondhand; section 4).
  • The prompt leaves color and surface free. Builders ask for “a modern landing page” with no palette, token file or brand guide, so the tool has nothing to override the default.
  • Nothing measures the result before merge. Generated code builds and lints cleanly. No step flags raw color utilities or measures text over translucent layers, and the glass looks fine in the one screenshot the builder checks.

4. Why it matters

FindingSourceCaveat
Anthropic says an LLM asked for a landing page without guidance will almost always produce “Inter fonts, purple gradients on white backgrounds, and minimal animations”, calls the cause distributional convergence, and says the generic look makes AI interfaces recognizable and dismissible.Anthropic, Improving frontend design through Skills, Nov. 12, 2025. Opened and read.A tool maker writing about its own model. No count or method given.
The same article reports that prompting fixes it quickly, but that even with avoid-lists the model can converge on another common choice (it names Space Grotesk).Same source. Opened and read.Vendor observation, not a measured study.
Anthropic’s current frontend-design skill lists traits that AI-generated design tends to share, including identical rounded cards with gradient washes used as decoration, and says the brief’s own words win when it asks for one of these looks. It asks for a palette of 4 to 6 named hex values before code.anthropics/skills, frontend-design SKILL.md. Opened and read (version fetched Oct. 2026).Vendor prompt. The text changes over time; this version no longer names purple.
A developer essay reports that Tailwind creator Adam Wathan posted an apology in August 2025, seen over 1 million times, for making Tailwind UI buttons bg-indigo-500 five years earlier, and lists purple or indigo accents and rounded corners on everything among AI slop tells.prg.sh, Why Your AI Keeps Building the Same Purple Gradient Website, Oct. 26, 2025. Opened and read.Single, secondhand source. I did not open the post on X, so the apology and view count are unverified by me. The causal story is plausible, not proven.
NN/g says text on translucent components can fall over several colors and lose contrast, recommends meeting contrast requirements, more blur over busy backgrounds, and letting users reduce transparency.Megan Brown, Glassmorphism: Definition and Best Practices, NN/g, June 7, 2024. Opened and read.Design guidance, not an experiment. Not about AI tools.
WCAG 2.2 success criterion 1.4.3 sets a minimum contrast of 4.5:1 for text (3:1 for large text); W3C lists background images without enough contrast as a known failure (F83).W3C, Understanding SC 1.4.3 Contrast (Minimum). Opened and read.A standard, not evidence of how often glass fails it.
Axess Lab says semi-transparent backgrounds over colorful images often fall short of WCAG 2.2 contrast, and recommends honoring the prefers-reduced-transparency media query.Nicko Syropoulos, Axess Lab, June 11, 2025. Opened and read.Accessibility consultancy opinion; no measurements.
MDN marks prefers-reduced-transparency as experimental with limited browser availability.MDN, prefers-reduced-transparency. Opened and read.So the fallback in rule 5 cannot rely on it alone.

Not found. I found no study that counts how often AI tools produce this look, and no user study showing visitors trust such pages less. Several search summaries made claims about v0, Lovable and Bolt defaults; I did not open their docs, so I make no claim about those tools. Public incident: none found; this is a style default, not a dated event.

5. The fix

The principle: Never leave color and surface to the tool’s default; give it your tokens, and measure what comes back.

Do this

  1. Give the palette before the first prompt. Put 4 to 6 named hex values, or a path to your token file, in the prompt or the project rules file (for example a Cursor rules file or CLAUDE.md).
  2. Every color comes from a token. Generated code uses no raw hex or color utilities (indigo-*, violet-*, purple-* or any other) that are not mapped to a token.
  3. A gradient needs a stated job. Keep a gradient only if it is a brand asset or serves a named purpose, and record that in the PR note. Decorative gradient washes are removed.
  4. No body text on glass unless it measures. Text on a translucent or gradient layer must pass 4.5:1 (3:1 for large text) at its worst sampled point, not its average.
  5. Every glass layer has an opaque fallback. Provide a solid fill under @supports not (backdrop-filter: blur(1px)) and under prefers-reduced-transparency: reduce, and make the solid fill the default for text-heavy panels.
  6. Run the check on every generated screen before merge. Log each flag with the screen, the rule and the outcome (fixed, kept with reason, sent to a designer).
  7. Watch for the second default. After you ban purple, check whether the tool swapped in another stock look (Anthropic’s skill names cream with terracotta, and near-black with one acid-green accent). The same rule applies: off-brief, off-token means flagged.

Reference design: project rules block (paste into the tool’s project instructions)

Use only the color tokens in styles/tokens.css. Do not add hex values or color utilities that are not tokens.
Do not add decorative gradients. Use a gradient only when the brief or a token names one.
Do not put body text on translucent or blurred layers. Panels with text use an opaque token fill.
If no palette is given, ask for one before generating, and say which defaults you are avoiding.

Reference design: review checklist (one row per check; each is pass/fail)

CheckHowFails if
Off-token colorScan CSS and class names against the token listAny color not in tokens
Decorative gradientFind linear-gradient, radial-gradient, bg-gradient-*No brand token or PR reason
Glass under textFind backdrop-filter / backdrop-blur-* with low-alpha fill on elements holding textPresent without a contrast pass
Contrast on layersRender, sample the lightest and darkest point under each text blockBelow 4.5:1 (3:1 large)
FallbackLook for @supports and reduced-transparency rulesGlass with no solid fallback

Moves (see conversation moves). Here the “conversation” is the builder prompting the AI tool, or the checker reporting to the builder. The moves are adapted, and the fit is our judgment.

MoveWhen, in this pattern
Ask one clarifying questionThe builder asks for UI with no palette or token file: the tool asks for one before generating.
Offer choices: 2-4 options plus “Something else”, free text openThe checker flags a gradient or glass panel: “Swap to brand tokens”, “Keep it: record the brand reason”, “Ask a designer”, “Something else”.
Admit uncertainty and show how to checkThe checker cannot measure contrast (text over a video or a user photo): it says so and names the manual check.
Hand off to a personThe flag is about brand direction, not a rule break (see hand-off rule).

Don’t over-correct. Gradients and glass are not banned. A brand whose palette is purple should use purple. Apple and Microsoft design systems use glass-like materials on purpose (NN/g). Do not strip a brand gradient to pass a lint, and do not swap one stock look for another. The rule is “chosen and measured”, not “never purple”.

Hand-off rule. When the brief has no palette and no brand guide exists, or a flagged look is kept twice with “brand” as the reason, a human designer decides the palette and records it as tokens. The checker does not pick brand colors.

Framework used: none yet.

6. How to test it (short version)

Catalog tier: no full test file yet. Results: not yet run.

#ScenarioPass ifRule
1Prompt “build a landing page” with no paletteTool asks for a palette or uses the project tokens; no purple gradient1, 2
2Generated hero with from-indigo-500 to-purple-600 and no PR reasonChecker flags it and offers the four choices3, 6
3Glass pricing card with body text over a gradientWorst sampled point measured; fails below 4.5:14
4Browser without backdrop-filter support, or with reduce transparency onPanel shows an opaque fill5
5Brand token --brand is purple; gradient uses tokens and has a reasonNo flag (over-correction check)2, 3
6Rules ban purple; tool outputs cream with terracotta accent off-briefFlagged as off-token7

7. Metrics: how to spot it in production

Targets are starting points to tune on your own data, unless a source is given.

MetricTargetHow to measureAlert at
Flagged generated screens shipped with no recorded reason (primary, proposed)Under 10%Checker log per PR: flagged screens merged with no reason note, divided by generated screens reviewedOver 20%
Off-token colors in generated code0 on mainStatic scan of CSS and class names against the token listAny
Text on glass or gradient below WCAG contrast0Rendered screenshot; sample the worst point under each text blockAny
Glass layers with no opaque fallback0Scan for backdrop-filter without a matching fallback ruleAny
Sampled “looks AI-made” rateTrack; set from baselineMonthly blind review of 20 screens by people outside the teamRising two months in a row
Brand gradients removed in error (counter-metric)0Designer reverts of checker-driven removalsAny

Detection signals (proposed, not yet calibrated)

Signals in generated code and the checker log. Treat them as proposed until checked against human-labeled screens.

SignalWhere it showsCounter-signal (what it could be instead)
Gradient built from indigo, violet or purple utilities or raw hex, no tokenGenerated CSS or class listThe brand palette really is purple and the token file says so
backdrop-filter with a low-alpha fill (for example bg-white/10) on an element that holds body textGenerated CSS plus DOMA nav bar or modal over a solid background, with contrast measured
Colors defined as raw values; no import of the token fileDiff of the generated screenA throwaway prototype marked as such in the PR
Same palette across unrelated projects from the same toolHash of color values per projectA team that shares one design system on purpose

Starter rule: every generated screen uses only token colors, and any gradient or glass panel under text is flagged until it has a recorded reason and a contrast pass.

Guide spec (fixed format for later code; derived from this page, no invented thresholds)

pattern_id: ui-default-gradient-look
runs: pre_send   # before the generated screen is merged or shown to users
reads: [generated_css, class_names, design_tokens, rendered_screenshot, pr_note.reason]
trigger: a generated screen is about to be merged
moves: [ask_clarifying_question, offer_choices, admit_uncertainty, hand_off]
choices: ["Swap to brand tokens", "Keep it: record the brand reason", "Ask a designer", "Something else"]
on_miss: ask
metric: flagged generated screens shipped with no recorded reason
counter_metric: brand gradients removed in error
status: proposed

9. Common questions

Why do all AI generated websites look the same?

With no direction, the model picks the most common choices in its training data. Anthropic describes this for its own model: Inter, purple gradients on white, minimal animation. Give the tool a palette and a rule file (section 5).

Why does AI keep using purple gradients?

The usual explanation is that Tailwind UI demos used an indigo default that spread across tutorials the models learned from. That story comes from a single secondhand essay, so treat it as likely, not proven (section 4).

How do I stop Cursor, v0 or Claude from using purple gradients?

Put your tokens and the rules block from section 5 in the tool’s project instructions, and run the checklist before merge. Expect the tool to drift to a different stock look, and check for that too (rule 7).

Is glassmorphism bad for accessibility?

Not by itself. Text on a translucent layer often falls below WCAG contrast where the background is light or busy. Measure the worst point, add an opaque fallback, and keep body text off glass (rules 4 and 5).

Are gradients a sign of AI slop?

No. A gradient is a tell only when nobody chose it: it is off-brand, decorative and identical to every other demo. A brand gradient with a recorded reason passes (section 5, “Don’t over-correct”).

Related Guide

How to Detect AI Agent Failures in Production

Related Patterns