Start with the neutrals
Background, surfaces and text take up almost the whole screen, so choose them first. A gray with a slight tint of your primary color looks more polished than a pure gray, and it lets the brand color stand out only where it matters.
Define state colors from the start
Every app needs colors for error, success, warning and information. Choose tones that fit your palette and don't use the error color for anything else, such as brand buttons. Pair the color with an icon or text so the meaning doesn't depend on color alone.
Design the dark mode too
Most phones support dark mode and many users keep it on. Inverting the colors isn't enough: use very dark grays instead of pure black and lower the saturation of the accents slightly so they don't vibrate against the background.
Check contrast and touch targets
Text should have a contrast ratio of at least 4.5:1 against its background, according to WCAG. Buttons should look different when active, pressed or disabled. Test the app outdoors and with low brightness, which is how many people use it.
Frequently asked questions
How many colors should an app have?
Typically one primary color, an optional accent, neutrals for backgrounds, surfaces and text, and four state colors: error, success, warning and information.
What color should an app's main button be?
Your brand's primary color, as long as it contrasts well with the background. Use it only for the most important action on each screen.
How do you make a dark mode version of a palette?
The background becomes a very dark gray with a slight hint of the brand color, surfaces are a little lighter than the background, and accents get lighter and softer. Text becomes an off-white. You can see it in every example with the “Dark” button.
What palette works for a minimalist app?
A base of grays (an almost-white background, very light gray surfaces and near-black text) with a single accent color for what matters. The palettes in the “Minimal” category follow that idea.
How do I bring the palette into Figma, Flutter or SwiftUI?
Click “Export” on the palette and choose the format: JSON tokens for Figma, a ColorScheme for Flutter, light and dark colors for SwiftUI, Tailwind or CSS variables. Copy the code with one tap.