Practical Tools Generator

Color Palette Generator

Build a harmonious, accessible palette from a base color, a photo, or a fresh random idea.

HEX · RGB · HSL · OKLCH · WCAG

Color palette studio

Build a harmonious, accessible palette from a base color, a photo, or a fresh random idea.

5
🖼️ Extract colors from an imageThe image is processed only in your browser and is not uploaded.
Tip: press Space to generate again.

Your palette

Click any code to copy it. Lock or reorder colors before generating again.

Drag cards or use the arrow buttons to reorder.

Live interface preview

Your palette
Role: Accent

A clearer visual system

Use your palette on a realistic card, navigation, text and action button.

View details

Accessibility and contrast

–

Contrast matrix

Color-vision preview

Approximate preview; always test with real users and more than color alone.

Gradient builder

Export palette

Choose a color harmony

Monochromatic palettes vary one hue. Analogous colors sit nearby, while complementary, triadic and tetradic modes use wider hue relationships.

Check accessibility before publishing

WCAG contrast results are shown with text labels as well as color. Normal text needs 4.5:1 for AA; large text needs 3:1.

Use the right color format

HEX and RGB are widely supported, HSL is convenient for adjustments, and OKLCH offers perceptually consistent lightness and chroma.

Color Palette Generator FAQ

What is a color harmony?

A color harmony is a repeatable relationship between hues, such as analogous, complementary or triadic colors.

How do I make a palette accessible?

Check foreground and background contrast, do not rely on color alone, and test interactive states as well as body text.

Is my uploaded image sent to the server?

No. Color extraction runs locally in your browser and the image is not uploaded by this tool.

Which export format should I use?

Use CSS variables for websites, SCSS for stylesheets, JSON for applications, or PNG for a visual reference.