Visual hierarchy in UI: using size, colour, contrast and position to guide attention
Visual hierarchy is the order in which people notice things on a screen. When it works, users find the main action without thinking. When it fails, everything competes and nothing wins.
The main levers:
- Size: larger elements are noticed first. Headlines and key numbers benefit from it.
- Weight: bold text stands out from regular text at the same size.
- Colour and contrast: a saturated colour or high contrast pulls the eye; muted greys push content back.
- Position: in left-to-right languages, people often scan from the top left, and top-of-screen content tends to get more attention.
- Whitespace: isolation makes an element prominent.
- Imagery and icons: they attract attention, which can help or distract.
Common hierarchy mistakes:
- Too many bold or coloured elements, so nothing stands out.
- Primary and secondary buttons styled identically.
- Relying only on size, making headings too large and pushing content below the fold.
- Using colour alone, which fails for colour-blind users.
Quick tests:
- Squint test: blur your eyes or the screenshot; what stands out first?
- Five-second test: show the screen briefly and ask what someone remembers.
- Greyscale check: does hierarchy still work without colour?
Questions:
- What is your process for deciding the single most important thing on a screen?
- Which apps do you think nail visual hierarchy?
Comments · 2
Squint test: blur your eyes at the screen. If the main action isn't the thing that stands out, the hierarchy needs work.
Don't make everything bold or large. When everything shouts, nothing does. Contrast comes from having a clear baseline.