SPSDPS

Design

How to Create an Accessible Colour Palette

Pick colours that look good and stay readable: choose a base, set roles, check contrast, and test in light and dark themes.

Devendra Pratap Singh1 min readLast reviewed 15 Nov 2026

A palette is accessible when people can read your text and recognise your controls, including people with low vision or colour-vision differences.

1. Start with one brand colour

Choose the main colour that represents your brand. Everything else supports it.

2. Add neutrals

Pick a dark colour for text and a light colour for backgrounds, plus a couple of greys for borders and secondary text.

3. Assign roles

Give each colour a job: primary action, link, success, warning, error, background, surface and text. Using colours consistently by role helps users learn your interface.

4. Check contrast

The widely used web accessibility guidelines (WCAG) suggest a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text and key interface elements. Use a contrast checker for every text and background pair you use.

5. Do not rely on colour alone

If something is an error or a selected item, add an icon, label or underline as well, so the meaning does not depend on seeing the colour.

6. Test both themes

If your site offers light and dark themes, check contrast in both. A colour that works on white may fail on navy.

7. Try it with real content

Look at actual buttons, links and body text, not just swatches, and view them on a phone in bright light.

Limitations

Contrast ratios are a measurable minimum, not a guarantee that a design is comfortable for everyone. Real user feedback is still valuable.

More guides