TFT

Custom Color Palette Generator

Create beautiful, harmonious color palettes for your projects.

#DD3CCA
#3C5FDD
#3CDDAA
#DD613C
#3CDD3C
Color 1
RGB(221, 60, 202)
Color 2
RGB(60, 95, 221)
Color 3
RGB(60, 221, 170)
Color 4
RGB(221, 97, 60)
Color 5
RGB(60, 221, 60)

Export Options

UI Preview

Card Title

Card content goes here

Text Samples

Sample Text - Color 1
Sample Text - Color 2
Sample Text - Color 3
Sample Text - Color 4
Sample Text - Color 5

What Makes This Generator Different

This tool generates color palettes using actual color theory rules — analogous, complementary, triadic, split complementary, tetradic, and monochromatic harmonies. Unlike random palette generators, you can lock individual colors you like and regenerate only the ones you don't, then export directly to CSS, SCSS, JSON, or Tailwind config format.

How the Harmony Modes Work

Each harmony mode uses specific angle offsets on the color wheel. The tool converts your base color to HSL, applies the offset to the hue value, then converts back to hex.

Analogous (±30°)

Three colors next to each other on the wheel. Creates serene, comfortable designs. Think sunset gradients or ocean themes.

Complementary (180°)

Two opposite colors. Maximum contrast, maximum vibrancy. Works well for call-to-action buttons against neutral backgrounds.

Triadic (120° apart)

Three evenly spaced colors. Balanced but vibrant. Common in children's products and playful branding.

Split Complementary (150° + 210°)

Base color plus two colors adjacent to its complement. Strong visual contrast without the tension of direct complementary.

Tetradic (90° intervals)

Four colors forming a rectangle on the wheel. Rich and complex. Best when one color dominates and others accent.

Monochromatic

Same hue, varied saturation and lightness. Clean and cohesive. Ideal for minimalist designs and professional interfaces.

Real Workflows This Tool Handles

Matching a Brand Color

A designer has a client's logo hex code. They paste it as the base color, select complementary harmony, and instantly get accent colors that work with the existing brand. Lock the brand color, regenerate the accents until they find the right balance.

Building a Design System

A frontend developer needs a consistent color system for their component library. They generate a triadic palette, lock the primary and secondary colors, then use the monochromatic mode to create shade variations for each. Export as CSS variables for the entire team.

Fixing a Muddy Dashboard

Someone's admin panel uses random colors that clash. They pick one dominant color from their existing UI, run analogous harmony, and replace the scattered colors with a cohesive family. The dashboard suddenly feels intentional.

Creating Dark Mode Variants

A developer has a light theme palette. They lock the hue values, switch to monochromatic mode, and adjust lightness for each color to create dark mode equivalents. Same brand feel, different brightness.

Quick Social Media Graphics

A content creator needs consistent colors for Instagram posts. They pick their brand color, generate a tetradic palette for variety, save it, and now have go-to colors for backgrounds, text, and accents across all their graphics.

What You Should Know Before Using It

Harmony modes work best with mid-saturation colors. Highly saturated neons can produce jarring combinations. If your base is #00ff00, consider reducing saturation first.

Locked colors stay locked during regeneration. This is intentional — lock colors you want to keep, hit regenerate, and only unlocked slots change.

The UI preview shows approximate contrast. Use the dedicated Contrast Checker tool to verify WCAG compliance for actual text. This preview is for visual estimation only.

Saved palettes are stored locally. Clear your browser cache and they're gone. Export important palettes as JSON or CSS for backup.

Random mode ignores the base color. When set to Random, the base color picker disappears — it's not used. Switch to a harmony mode to leverage base color relationships.

Export Formats Explained

CSS Variables

:root {
  --color-1: #3b82f6;
  --color-2: #f97316;
}

Drop into global CSS. Access via var(--color-1). Works everywhere CSS works.

SCSS Variables

$color-1: #3b82f6;
$color-2: #f97316;

For Sass projects. Import into your stylesheets.

Tailwind Config

colors: {
  custom: {
    1: "#3b82f6",
    2: "#f97316"
  }
}

Paste into tailwind.config.js theme extension. Use as bg-custom-1, text-custom-2, etc.

JSON

{
  "name": "My Palette",
  "colors": ["#3b82f6", "#f97316"]
}

For programmatic use. Import into build tools or design token systems.

Frequently Asked Questions

Why do some harmony modes show fewer colors than others?

Each harmony type has a fixed number of base colors — complementary has 2, triadic has 3, tetradic has 4. If you have more color slots than the harmony provides, the tool cycles through the harmony colors and varies their lightness/saturation to fill the gaps.

Can I use this for accessibility-compliant palettes?

The harmony rules ensure colors work together aesthetically, but they don't guarantee WCAG contrast ratios. After generating a palette, copy your text/background pairs into the Contrast Checker to verify they meet AA or AAA standards.

What's the maximum number of colors I can generate?

The interface supports 2-10 colors per palette. You can add or remove slots using the Add Color button. For larger palettes, generate multiple smaller ones and merge them manually.

How do I recreate a color I saw somewhere?

Use the color picker input on any color slot:

  1. Click the color picker icon on any slot
  2. Enter the hex code you want to match
  3. Lock that color
  4. Select a harmony mode to generate matching colors around it

Why does monochromatic mode look different from the lightness-based generator?

This monochromatic mode varies both lightness and saturation across the range for visual interest. The dedicated Color Palette Generator tool uses fixed lightness steps only. Use that one if you need predictable, evenly-spaced shades.

Can I share my saved palettes with teammates?

Saved palettes are stored in your browser only. To share, export as JSON and send the file. Your teammate can import it using the Palette Import tool or manually recreate the colors.

What happens if I regenerate with all colors locked?

Nothing changes — locked colors are protected from regeneration. Unlock at least one slot, or use the color picker to manually adjust a locked color first.

Is there a way to see what the palette looks like in use?

The UI Preview section shows your colors applied to sample cards, buttons, and text. It's not a full mockup, but it gives you a sense of how the colors interact in a typical interface.

When to Use This vs. Other Color Tools

Use this generator when you need harmonically related colors based on color theory rules. It's ideal for building complete palettes from a single starting point.

Use the Color Palette Generator instead if you just need lighter/darker shades of one color without harmony relationships.

Use the Advanced Color Picker when you need fine-grained control over individual color values in multiple formats (RGB, HSL, CMYK).

Use the Contrast Checker alongside this tool to validate that your generated palette meets accessibility requirements for text readability.