A website looks unprofessional in a specific, diagnosable way: the colors do not seem to belong to each other, and none of them seems to have a job. The header is one blue, the button is another, the link color came from somewhere else entirely. Nothing is individually ugly. The set is incoherent.
Professional color is not better taste. It is a procedure: start from one base color, compute a related set instead of picking colors one by one, assign each color a role, and then adjust lightness so each color can actually perform its role. The free Color Palette Generator on Ovatly does the computing step; this guide covers the whole procedure.
Contents
- Quick answer
- Why related colors look professional
- Give every color a job
- The step everyone skips: adjusting lightness per role
- How to build the palette, step by step
- Worked example: an analogous palette assigned to a website
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
To build a website color palette that looks professional: pick one base color, run one harmony rule in the Color Palette Generator to get five related colors, then assign each color a job (page background, surface, text, primary action, accent). Because the computed colors share one saturation and lightness, adjust lightness per role before shipping: darken the text color, lighten the background. If you have no base color yet, use the generator's Random base color button and compute a harmony from whatever it gives you.
Why related colors look professional
A harmony rule builds a palette from a single base color using fixed hue relationships: complementary, split-complementary, analogous, triadic, tetradic or monochrome. Because every color is computed from the same starting point, the colors genuinely belong together. That belonging is most of what the eye reads as professional.
Picking colors one at a time from a color wheel or a swatch book has no such guarantee. Each pick is a fresh decision, and five fresh decisions rarely agree with each other. The harmony run removes four of the five decisions: you choose a base and a rule, and the relationships come out exact.
Give every color a job
Five colors is enough for a website, and it is also a ceiling worth respecting. Assign the jobs before you touch any page:
- Page background: the lightest color, the field everything sits on.
- Surface: a near relative of the background, for cards, panels and table rows.
- Text: the darkest color, dark enough to read at small sizes.
- Primary action: the base color itself, reserved for the main button and key links.
- Accent: the color farthest from the base in the set, used sparingly for highlights and calls to action.
A color without a job gets used everywhere, a little at a time, until the page is noise. A color with a job appears where its job is and nowhere else, which is the second half of what looks professional.
The step everyone skips: adjusting lightness per role
Here is the honest caveat built into the tool itself. Harmonies are computed in HSL space, and the hue-based rules change only the hue. Every color in the palette shares the base color's saturation and lightness. That makes the hue relationships exact, and it makes the raw output unusable as-is: five colors at identical lightness cannot serve as background, surface, text, action and accent, because those roles are defined by lightness differences.
So the professional workflow has a second pass. Keep the hues exactly as computed. Then move lightness per role: push the background and surface colors lighter, pull the text color darker, and leave the primary action near the base. The exception proves the rule: the monochrome harmony skips this problem by keeping the hue and saturation fixed and stepping through five lightness levels instead, which is why monochrome output is closer to role-ready.
Skipping this pass is the single most common reason a computed palette disappoints. The palette was never wrong; it was unfinished.
How to build the palette, step by step
- Open the Color Palette Generator and enter a base color with the swatch or as a HEX value. If you have no brand color, click Random base color until one appeals.
- Choose a harmony rule from the dropdown. Analogous is the safest start for a calm interface; complementary if you want one strong accent.
- Read the five colors as a set of hues, not as finished colors. Note which is your base and which is farthest from it (your accent candidate).
- Adjust lightness per role: lighten the background and surface picks, darken the text pick. The hues stay where the harmony put them.
- Copy the colors you need individually, or copy the whole export block of CSS custom properties and the plain list, and paste it into your project.
Worked example: an analogous palette assigned to a website
Start with the base color #2563EB, a strong blue. Running the Analogous rule produces five colors: #24EBAC, #24C6EB, #2563EB, #4824EB and #AC24EB. These are the base plus the two neighboring hues on each side, 30 degrees apart, all at the same saturation and lightness.
Now assign jobs. The base #2563EB is the primary action color: buttons and key links. Its nearest neighbor #24C6EB becomes the accent for small highlights. The green-leaning #24EBAC is held back for success states and confirmations, a job analogous sets are quietly good at. The two violet-leaning colors, #4824EB and #AC24EB, are candidates for headings or a secondary brand surface, used rarely.
Then the lightness pass, which the raw row cannot skip: none of these five is light enough to be a page background or dark enough, in this family, to be the only text color. So the background is a very light tint of the base hue, the surface a slightly deeper tint, and the body text a much darker shade of the same blue family. The hues never moved. Only lightness did, and that is exactly the adjustment the tool's own notes tell you to expect.
Limitations and honest tradeoffs
The generator computes hue relationships; it does not judge contrast. A palette can be perfectly harmonious and still unreadable if the text color is too close in lightness to the background behind it. Check text and background pairs separately before shipping.
The harmony rules are the classic textbook constructions. They are a strong starting point, not a finished brand: real designs adjust lightness per color, as described above, and often bend saturation too. And the random base color is drawn with the browser's cryptographic random generator purely as a starting point. It is coordinated with nothing until you apply a harmony to it.
Common mistakes
- Picking five unrelated colors one at a time. Nothing binds them. Compute one harmony from one base instead. Our companion guide on color palette mistakes that make designs look amateur walks through this failure in detail.
- Shipping the computed row raw. The colors share one lightness, so roles collapse. Adjust lightness per role first.
- Giving the accent too much work. In a complementary palette the accent is one strong color against a main color. Used everywhere, it stops being an accent.
- Re-rolling forever. The random base is a starting point, not a search for the perfect color. Pick one, compute, adjust, ship.
FAQs
How many colors does a website palette need? Five is a workable number, which is what one harmony run produces: a base color plus four relatives. That covers a background, a surface, a text color, a primary action and an accent, with nothing left over competing for attention.
Which harmony rule should I start with? Analogous is the safest for calm interfaces, because the colors sit next to each other on the wheel. Complementary gives one strong accent against a main color. Triadic suits playful designs that need three clearly different hues.
Why do the colors in my palette all look the same brightness? Harmonies are computed in HSL, and the hue-based rules change only the hue. Every color keeps the base saturation and lightness, which makes the relationships exact. Vary the lightness afterwards so each color can do its job: darker for text, lighter for backgrounds.
I have no brand color yet. Where do I start? Use the Random base color button in the Color Palette Generator. The random color itself is not coordinated with anything; the harmony you apply to it is what creates the coordination, so keep re-rolling until a base color feels right, then compute.
How do I take the palette into my project? Copy any single color, or copy the whole export block, which contains CSS custom properties plus a plain list of the values. Paste the custom properties into your stylesheet and reference them by name.
Conclusion
A professional website palette is a procedure, not a talent: one base color, one harmony run in the Color Palette Generator, five colors with five jobs, and a lightness pass that turns a row of equal hues into a working set. Do those four things and the colors will look like they were chosen on purpose, because they were. For more guides in this series, see our Color and Design Tools guides.
References
- MDN Web Docs, on CSS color values and where each notation is used: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
- W3C, Web Content Accessibility Guidelines (WCAG) 2.1, on contrast minimums for text: https://www.w3.org/TR/WCAG21/#contrast-minimum