Disabled Button Design: Why 50% Opacity Fails, and What to Use Instead
Fading your brand button to 50% opacity is the default disabled state and the wrong one. Use a solid gray fill (#C6C6C6) with a #8D8D8D label, a dark gray on dark screens, a line that says what is missing, or a button that stays on and shows the error.

A disabled button should look off, not faded. Turn your brand button down to 50% opacity and it still looks like your brand button, just paler, so people tap it and nothing happens. Here are the four fixes, the exact values for light and dark screens, and the code to hand your developer.
Why 50% opacity is everyone's disabled state
Nobody designs a faded button. It arrives: opacity is one slider in every design tool and one line of CSS, so the fastest "not now" button is the whole thing turned down to half.
The trouble is that opacity keeps the hue. A violet button at 50% is still violet, in the same shape and place, with the same label. The eye reads it as the same button in a lighter mood, not as one that is switched off.
Opacity also borrows its color from whatever sits underneath. The same faded button changes on every surface it lands on:
#6440E0 at 50% on white
#6440E0 at 50% on #161616
#6440E0 at 50% on yellow #FFD60A
On white it turns lilac, on near-black it turns a deep violet that still looks pressable, and on a yellow card it goes brown. A disabled state should look the same everywhere, which means it needs its own colors.
Fix 1: turn it gray
#6440E0 at 50%

#C6C6C6 and #8D8D8D

Same checkout, same empty card form, two disabled buttons. The left one is the brand violet #6440E0 at half strength. The right one is IBM Carbon's disabled button: a solid #C6C6C6 fill with a #8D8D8D label.
Gray works because the brand color is the signal that says "tap me". Take the color away and the button stops asking.
Material 3 does the same thing in its own way: a disabled filled button drops the brand color and becomes a neutral container at 10% with its label at 38%. Shopify Polaris also goes neutral, black at 17% with a #8A8A8A label. Three systems, one rule: disabled loses the hue.
The same fix applies to every control that can be off: secondary buttons, toolbar icons, filter chips, menu items. If the enabled version carries your brand color, the disabled one carries none.
Fix 2: gray on dark screens too
#6440E0 at 50% on #161616

#3A3A3A and #6B6B6B

Dark mode makes the faded button worse, not better. Over #161616, violet at 50% renders #3D2B7B, a rich color that looks like a perfectly good button. Carbon's dark theme uses a gray at 30% and a white label at 25%, which render #3A3A3A and #6B6B6B on that background.
So the rule holds in both themes. Define the disabled pair once for each theme instead of letting opacity guess. Our paper on dark mode design covers the rest of the dark palette.
Fix 3: say what's missing
No reason

Add a password to sign up.

A gray button answers "can I continue?" and leaves the harder question open: what am I missing? On a long form people scroll up and down hunting for the field that blocks them. Vitaly Friedman made the same point in Smashing Magazine in 2021: disabled buttons don't explain what's wrong.
One short line under the button fixes it. Write it as the next step, not a rule: "Add a password to sign up" beats "Form incomplete". Update it as the form fills, so it always names the one thing left. It works on a checkout ("Choose a delivery time to pay"), a Save button in settings, or a Next button in a multi-step flow.
Fix 4: or leave it on
Tap does nothing

Tap shows the error

The other answer is to skip the disabled state. Keep the button enabled, and when someone taps it with the form unfinished, move them to the first problem and say what is wrong. Stripe Checkout works this way: with a part-typed card number, Pay stays on in Stripe's blue and the field says "Your card number is incomplete."
This is the better choice on long forms and on anything where people cannot see every field at once. A disabled button also has a cost for keyboard and screen reader users: a native disabled button is skipped by the Tab key, so they may never learn it exists. If the button must look off but stay findable, use aria-disabled="true" instead and handle the tap yourself.
Not everyone goes gray, either. Stripe's own sign-up button stays a pale tint of its brand while it is inactive. The rule here follows Carbon, Material and Polaris, and it is a strong default, not a law.
The disabled spec
Disabled on light
Disabled on dark
| Part | Light | Dark | Rule |
|---|---|---|---|
| Fill | #C6C6C6, solid | #3A3A3A | Gray, never a faded brand color |
| Label | #8D8D8D | #6B6B6B | A quiet step away from the fill |
| Opacity | never the whole button | never the whole button | Opacity keeps the hue |
| Hint | one line under the button | same | Say what is missing |
| Tap | show the error | same | Or leave the button on |
How the big systems build it:
| System | Disabled fill | Disabled label |
|---|---|---|
| IBM Carbon (light) | #C6C6C6, solid | #8D8D8D |
| IBM Carbon (dark) | gray at 30%, renders #3A3A3A | white at 25%, renders #6B6B6B |
| Material 3 | neutral at 10% | neutral at 38% |
| Shopify Polaris | black at 17%, about #D4D4D4 on white | #8A8A8A |
Hand this to your developer
The values as CSS custom properties, with the dark pair switching on the system theme:
:root {
--button-disabled-bg: #C6C6C6;
--button-disabled-fg: #8D8D8D;
}
@media (prefers-color-scheme: dark) {
:root {
--button-disabled-bg: #3A3A3A;
--button-disabled-fg: #6B6B6B;
}
}
.button:disabled,
.button[aria-disabled="true"] {
background: var(--button-disabled-bg);
color: var(--button-disabled-fg);
opacity: 1; /* never fade the whole button */
cursor: not-allowed;
}
On Carbon these are the button-disabled and text-on-color-disabled tokens. Use aria-disabled="true" when the button should stay in the tab order and answer a tap with the error, as in fix 4.
The numbers, for the person defending the choice
WCAG 2 does not set a contrast minimum for text in an inactive control, so a disabled label is allowed to be quiet. That is why this paper says "looks off", never "easier to read".
| Pair | Contrast |
|---|---|
| White label on #6440E0, enabled | 6.27 to 1 |
| #D8D0F8 label on #B2A0F0, faded to 50% | 1.56 to 1 |
| #8D8D8D label on #C6C6C6, Carbon light | 1.94 to 1 |
| #6B6B6B label on #3A3A3A, Carbon dark | 2.13 to 1 |
The faded button has the weakest label of the four and still looks the most tappable. The problem was never contrast. It was color.
FAQ
How should a disabled button look?
It should look switched off: a solid gray fill with a dimmer gray label, such as IBM Carbon's #C6C6C6 with #8D8D8D. A faded version of the brand color still looks tappable.
Should a disabled button use opacity?
Not on the whole button. Opacity keeps the brand hue and borrows color from the background, so the button looks different on every surface. Use fixed gray colors for each theme instead.
What color is a disabled button in dark mode?
A dark gray fill with a dim gray label. Carbon's dark theme renders #3A3A3A with a #6B6B6B label on a #161616 background.
Do disabled buttons need to meet WCAG contrast?
No. WCAG 1.4.3 exempts text in inactive controls from the contrast minimum. The button still has to read as off, and people still need to know what is missing.
Should I disable the submit button until a form is valid?
On a short form a disabled button with a one-line hint works. On a long form, keep the button on and show the errors when it is tapped, the way Stripe Checkout does.
Sources
- IBM Carbon v11 color tokens
button-disabledandtext-on-color-disabled, white and g100 themes, from Carbon color tokens and the Carbon button usage guide (read from @carbon/themes 11.40.0). - Material 3 filled button disabled container and label opacities from the Material 3 button specs and the androidx Compose FilledButtonTokens.
- Shopify Polaris disabled button colors from Polaris color tokens (@shopify/polaris-tokens 9.4.2).
- Vitaly Friedman, Usability Pitfalls of Disabled Buttons, and How To Avoid Them, Smashing Magazine, August 2021.
- WCAG 2.2, 1.4.3 Contrast (Minimum), which exempts inactive controls.
- MDN on the disabled attribute and aria-disabled.
- Stripe Checkout behavior with a part-typed card, tested live on 2026-11-04, and Stripe's sign-up page, seen the same day.
- Rendered colors and contrast ratios computed by alpha blending and the WCAG relative luminance formula. The checkout, order and sign-up screens are invented examples built for this page.
- First published as a carousel on UX Brainy.





