All UI UX practice
UI UX practice · Visual design

UI design practice: colour, type and spacing

Good UI design is a set of small, testable calls about colour, type and space. Each challenge below gets one of them wrong: you spot it and fix it.

Start the first challenge

Visual design is not decoration. Contrast decides whether text can be read in sunlight, a clear type scale decides what people read first, and consistent spacing decides what looks grouped and what looks broken.

These challenges turn UI design principles into decisions you can practise. Each screen has one visual problem. You choose the fix, then see why it works and which rule backs it, such as the 60-30-10 colour rule or a modular type scale.

The challenges

Read the problem here, then solve it in UX Quest. Beginner challenges are free with an account; the others are part of Pro.

Beginner · Color & ContrastFree

Product Card — the caption that vanishes in sunlight

A product card's caption is a tasteful light grey on white — crisp in Figma, gone the instant it's read outdoors or by low-vision eyes. It just failed an accessibility audit.

Solve it free Accessible contrast
Beginner · Color & ContrastFree

Settings — the Save button you can't see

A settings screen shipped with 'Save changes' in pale grey on white — about 1.6:1. The one control that commits the user's work is the one they can't find.

Solve it free Accessible contrast
Beginner · Color & ContrastFree

Dashboard — eight brand colors, zero focus

A SaaS team shipped a dashboard using all eight brand colors at equal strength. Everything competes for attention, so nothing wins — users can't find the primary action in the noise.

Solve it free 60-30-10 Rule
Beginner · TypographyFree

Landing Page — seven heading sizes, no hierarchy

A landing page sets its headings at 14/15/16/17/18/19/20px — every level a pixel apart. With no real jump between them, the eye finds no anchor and skims straight past the H1.

Solve it free Modular Type Scale
Beginner · TypographyFree

Article — the headline that reads like body text

An article renders its headline at the same size and weight as the paragraph below it. Readers arrive mid-page with no idea where the story actually begins.

Solve it free Visual hierarchy
Beginner · Spacing & LayoutFree

Profile Card — nothing quite lines up

A teammate's profile card uses gaps of 6, 11, and 13px — no scale, just values nudged by eye. It looks subtly broken and no one on the team can say exactly why.

Solve it free 8-pt Spacing Scale
Beginner · UI DesignFree

Settings Screen — the switches that float on their own

A chat app's settings screen lists six switches in one flat list. Support keeps hearing that people turn off the wrong ones, and testers can't tell which switches belong together.

Solve it free Law of Common Region
Intermediate · UI Design Pro

Card Grid — every card lands at a different height

A 3-column card grid has titles, prices, and buttons all landing at different heights, so the whole row looks broken even though each card is 'correct' on its own.

Solve it Alignment Principle

How to approach these challenges

  1. Squint at the screen: what stands out first, and is it the thing that matters most?
  2. Check text contrast against its real background, not the page colour.
  3. Count the colours and heading sizes, and cut them back to a small, deliberate set.
  4. Check that spacing follows a scale, with less space inside a group than between groups.
  5. Make one change at a time and look again before the next one.

Visual design: common questions

  • Clear visual hierarchy, enough contrast to read, a small set of colours and type sizes, consistent spacing and alignment, and grouping related things together. Each challenge on this page trains one of them.

  • A colour guideline: about 60% of the screen in a main neutral colour, 30% in a secondary colour and 10% in an accent, used for the things that need attention.

  • At least 4.5:1 for normal text and 3:1 for large text, under WCAG level AA.

  • Seven of the eight are Beginner challenges, free with an account. The card grid alignment challenge is part of Pro.

The UX laws behind these challenges

  • Accessible contrastText needs at least 4.5:1 contrast against its background (3:1 for large text and UI parts).
  • 60-30-10 Rule60% dominant (neutral), 30% secondary, 10% accent. Ratios create visual calm.
  • Modular Type ScaleA geometric scale (e.g. 1.25× or 1.333×) gives proportional jumps the eye can parse.
  • Visual hierarchyThe most important text should look the most important.
  • 8-pt Spacing ScaleA multiple-of-8 (or 4) scale gives consistent rhythm and predictable layouts.
  • Law of Common RegionElements inside the same enclosed area are seen as a group.
  • Alignment PrincipleAligned elements feel intentional and reduce cognitive load. Stray edges feel sloppy.
  • Gestalt principles: the laws of grouping, with UX examplesGuide
  • Bad UX examples: 10 common mistakes and how to fix themGuide
UX QuestUX Laws and PrinciplesUI UX PracticeUX Design Challenge GeneratorNotion TemplatesBlogPricingAboutContactPrivacy PolicyTerms of ServiceRefund PolicySitemapChangelogPopular UX laws:60-30-10 RuleDesign every stateStatistical PowerFunnel TriageAccessible contrastDensity Matches ContextHick's LawFitts's LawAll UX laws