AIColors

Color Theory

Color Harmony Generator

Pick a base color and explore seven classic harmony schemes. Copy any swatch as HEX, RGB, HSL, or OKLCH.

Hue positions

How to use the Color Harmony Generator

1

Pick a base color

Paste a HEX value, use the swatch picker, or start from the default violet. The base color is the anchor that all harmony relationships rotate around.

2

Choose a scheme

Switch between seven classic color theory schemes. The wheel preview shows where each derived hue sits relative to the base.

3

Copy or share

Copy any swatch as HEX, RGB, HSL, or OKLCH. The share button stores the base color and scheme in the URL so a teammate sees the same palette.

Scheme reference

The names are familiar, but the useful part is knowing when each relationship helps. Use these descriptions as design direction, not as a rulebook.

Complementary

Two colors sit opposite each other on the wheel. The result is direct contrast, useful for calls to action, posters, product badges, and any interface moment where one element must separate from another quickly. Use one color as the main surface and the opposite hue sparingly. Equal amounts can feel loud.

Analogous

Three neighboring hues create a calm family. Analogous palettes are good for editorial pages, dashboards, gradients, and illustration systems where you want variety without a strong conflict. Because hue contrast is low, build hierarchy with lightness and saturation instead of expecting the colors alone to do the work.

Triadic

Three colors spaced 120 degrees apart make a balanced but energetic palette. Triads are excellent for playful products, data categories, and brand systems that need more than one accent. Pick one dominant hue, use the second as support, and reserve the third for highlights or charts.

Tetradic

A tetradic palette uses two complementary pairs. It gives you broad coverage across warm and cool hues, but it needs discipline. Keep one pair quiet and let the other pair carry emphasis. This is useful for event branding, illustration kits, and marketing systems with multiple campaign moods.

Split-complementary

Split-complementary keeps the punch of a complement but softens the conflict by using two neighbors around the opposite hue. It is often easier to use than a pure complementary pair because the two support colors create richer transitions and fewer harsh edges.

Square

Square palettes use four evenly spaced hues. They are symmetrical and flexible, but also the easiest to overuse. Treat the result as a menu of options. Choose one or two for core UI, then reserve the rest for chart series, illustrations, labels, or seasonal accents.

Monochromatic

A monochromatic palette changes lightness around one hue. It is the simplest choice for product UI, documentation, skeleton states, and brand surfaces where consistency matters. The downside is limited semantic range, so pair it with neutrals or status colors when information density increases.

Why OKLCH

Perceptual hue rotation gives better starting palettes

Traditional color wheels usually rotate hue in HSL or HSV. That is easy to teach, but it does not match how people see brightness. The same HSL lightness value can produce a bright yellow, a heavy blue, and a red that sits somewhere between them. A harmony based on that math can look uneven even when the angles are correct.

OKLCH separates perceptual lightness, chroma, and hue. This tool keeps the base color's lightness and chroma as stable as the sRGB gamut allows, then rotates hue. When a rotated color would clip outside displayable sRGB, the tool reduces chroma along the same hue rather than shifting the relationship.

That approach is especially useful for monochromatic and triadic palettes. Your output still needs design judgment, contrast checks, and likely tonal scales, but the first draft is closer to how a human reviewer expects the colors to feel.

Frequently asked questions

What is a color harmony?
A color harmony is a set of colors chosen by a repeatable relationship on a color wheel. Complementary, analogous, triadic, tetradic, split-complementary, square, and monochromatic are the most common relationships. They are not strict laws, but they give you a reliable starting point when a blank color picker feels too open.
When should I use complementary vs split-complementary?
Use complementary when you want a sharp two-color contrast and can keep one color dominant. Use split-complementary when pure opposites feel too aggressive. Split-complementary palettes keep visual energy while adding two support hues that are easier to blend into backgrounds, illustrations, and secondary UI states.
Are triadic palettes hard to use?
Triadic palettes can look chaotic if all three colors have the same visual weight. The practical method is simple: choose a lead hue, reduce saturation or usage for the second hue, and use the third hue as an accent. That gives you a lively palette without turning every component into a competition.
How do I turn a three-color harmony into a full UI palette?
Start with the generated hues, then create tonal scales for each one. Use the Shades and Tints Generator for 50 to 950 steps, pick neutral grays for surfaces, and reserve the harmony hues for interactive states, charts, tags, or hero accents. Finally, run important text and backgrounds through a contrast checker.
Should brand colors come from harmony schemes?
Sometimes, but not always. Brand palettes often start from positioning, category signals, history, and trademark distinctiveness. Harmony rules can help extend a single brand color into support hues, but they should not override recognition. Keep the core brand color stable, then use harmonies to create campaign or product-level accents.
Why do harmony colors look uneven in HSL?
HSL lightness is not perceptual. A yellow and a blue with the same HSL lightness can look very different in brightness. This tool rotates hue in OKLCH instead, preserving perceptual lightness and chroma where possible. That is why the output feels more balanced across warm and cool hues.
How do I check accessibility for a harmony palette?
Harmony does not guarantee contrast. After choosing a palette, test the exact foreground and background pairs that will carry text, icons, focus rings, chart labels, and status meaning. If a pair fails, adjust lightness first. Do not rely on hue contrast alone because many users cannot distinguish certain hue pairs.

Related color tools