Create beautiful color palettes with harmonies, Material Design tones, and multiple export formats.
?Creates palettes using color wheel relationships (complementary, analogous, triadic, etc.). Colors are mathematically related for visual balance.
?Generate palettes by mood, theme, or keyword. Adjust temperature and energy sliders.
?Generates aesthetically pleasing random palettes using golden ratio distribution. Set a seed value to reproduce the same palette later.
?Creates a tonal palette with 10 shades (50-900) based on Material Design principles. Ideal for UI design with consistent light-to-dark progression.
?Generates a design system palette with semantic roles: primary, secondary, success, warning, error, and info. Colors are harmonized toward your primary using Material Design 3 principles — each semantic hue shifts slightly to feel cohesive rather than arbitrary.
?Click any color swatch to copy its HEX code. Use these colors in your CSS, design tools, or style guides.
Accessibility
?Check if color combinations meet WCAG contrast guidelines (4.5:1 for AA). Use the colorblind simulation to ensure your palette works for all users.
Ratio: Luminance difference between colors (higher is better for readability)AA: Minimum 4.5:1 for normal text, 3:1 for large text (WCAG Level AA)AAA: Enhanced: 7:1 for normal text, 4.5:1 for large text (WCAG Level AAA)
?Normal color vision (trichromacy). Shows how the palette appears to people with typical color perception.
?Red-blind (protanopia). Affects ~1% of males. Red appears darker, and red-green distinctions are difficult. Test your palette for accessibility.
?Green-blind (deuteranopia). The most common form, affecting ~6% of males. Green perception is reduced, red-green confusion is common.
?Blue-blind (tritanopia). Rare, affecting <0.01% of people. Blue-yellow confusion occurs. Colors appear more pink/green tinted.
Shading Templates
?Tints add white (lighter), shades add black (darker), opacity creates transparent variants. Use these for hover states, backgrounds, and visual hierarchy.
Display:
Include in export:?Select what information to include when exporting to PNG, PDF, or HTML. Code exports (CSS, SCSS, JSON) always include selected options.
Advertisement
About This Tool
The color palette generator is a professional-grade design tool that empowers designers, developers, and artists to create visually harmonious color schemes grounded in centuries of color theory. It supports nine distinct color harmony relationships derived from the color wheel: complementary, analogous, triadic, tetradic, split-complementary, monochromatic, double-complementary, clash, and pentadic.
Each harmony type produces mathematically precise color combinations that work together to create visual balance and interest.
Color theory as a formal discipline traces its roots to Sir Isaac Newton's 1704 publication "Opticks," where he first arranged colors in a circular diagram. The modern color wheel was further refined by artists and scientists including Johann Wolfgang von Goethe, Michel Eugene Chevreul, and Johannes Itten at the Bauhaus school. Today, these principles form the foundation of digital design systems used by millions of websites and applications worldwide.
You can explore these concepts further through the Interaction Design Foundation's color theory resources and the W3C WCAG 2.1 contrast guidelines.
Beyond traditional harmonies, this tool generates Material Design tonal palettes with 10 calibrated shades (50 through 900), random palettes using golden ratio distribution for aesthetic hue spacing, and complete semantic design systems with named roles like primary, secondary, success, warning, and error.
Built-in WCAG accessibility checking ensures your color choices meet contrast requirements for readable text, while color blindness simulation reveals how approximately 8% of men and 0.5% of women with color vision deficiencies will perceive your palette. Export your finished palette to CSS custom properties, SCSS variables, Tailwind configuration, JSON, Markdown, PNG, PDF, or DOCX. All processing runs entirely in your browser with no server communication.
Choose a generation mode: Harmony (color wheel relationships), Random (golden ratio), Material (tonal shades), or Semantic (design system).
Set your base color using the color picker or by entering a HEX code. For random palettes, optionally set a seed value for reproducible results.
Review your palette, check accessibility contrast ratios, and export in your preferred format (CSS, SCSS, Tailwind, JSON, HTML, PDF, or PNG).
The Science of Color Harmony
The human perception of color harmony has been studied for centuries, bridging art, physics, and neuroscience. When Isaac Newton split white light through a prism in 1666, he revealed the visible spectrum and laid the groundwork for understanding how colors relate to one another. His arrangement of these spectral colors into a wheel became the foundation for all color harmony systems that followed.
In the early 19th century, French chemist Michel Eugene Chevreul discovered the law of simultaneous contrast while working at the Gobelins tapestry manufactory. He observed that adjacent colors influence each other's perceived appearance, making neighboring colors shift toward each other's complement. This discovery profoundly influenced the Impressionist painters and remains fundamental to understanding why certain color combinations feel balanced while others create visual tension.
The Bauhaus school (1919-1933) formalized color theory for design education through the work of Johannes Itten, Josef Albers, and Wassily Kandinsky. Itten's seven color contrasts (hue, light-dark, cold-warm, complementary, simultaneous, saturation, and extension) provided a systematic framework that designers still reference today. Albers later demonstrated through his landmark work "Interaction of Color" that color is inherently relative and that identical colors can appear completely different depending on their surrounding context.
Modern color science builds on the CIE 1931 color space, which mathematically maps human color perception. The CIELAB color space, developed in 1976, models perceptual uniformity so that equal numerical changes correspond to equal perceived differences. This science underpins tools like WCAG contrast checking, where the relative luminance formula ensures that color combinations provide sufficient readability for people with varying levels of visual acuity. Today, these principles guide the creation of design systems used by billions of people through interfaces at companies like Google, Apple, and Microsoft.
Understanding Your Results
When reviewing a generated palette, consider the visual weight and emotional impact of each color. Warm colors (reds, oranges, yellows) tend to advance visually and create energy, while cool colors (blues, greens, purples) recede and evoke calm. A well-balanced palette typically uses one dominant color for 60% of the design, a secondary color for 30%, and an accent for 10%.
The contrast ratio numbers in the accessibility panel indicate readability. A ratio of 4.5:1 or higher (AA pass) means the color pair is safe for body text. Ratios between 3:1 and 4.5:1 are suitable only for large text (18pt or 14pt bold). Ratios below 3:1 should be avoided for any text content. The green checkmark and red cross icons provide instant visual feedback.
When examining color blindness simulations, pay special attention to whether your palette's key distinctions remain visible. If two semantically different colors (such as success green and error red) appear identical under deuteranopia simulation, consider adding secondary cues like icons, patterns, or text labels to ensure accessibility for all users.
How to Use
Choose a generation mode: Harmony (color wheel relationships), Random (golden ratio), Material (tonal shades), or Semantic (design system).
Set your base color using the color picker or by entering a HEX code. For random palettes, optionally set a seed value for reproducible results.
Review your palette, check accessibility contrast ratios, and export in your preferred format (CSS, SCSS, Tailwind, JSON, HTML, PDF, or PNG).
Methodology
Color harmonies are calculated using precise HSL (Hue, Saturation, Lightness) transformations on the color wheel. The hue component is rotated by specific degree intervals to produce each harmony type: 180 degrees for complementary, 30 degrees for analogous, 120 degrees for triadic, 90 degrees for tetradic, and 72 degrees for pentadic. Split-complementary combines the base with two colors adjacent to its complement at 150 and 210 degrees.
Material Design tonal palettes are generated by systematically adjusting the lightness and saturation of the base color across ten calibrated steps. Lighter tints (50-300) reduce saturation slightly while increasing lightness, and darker shades (600-900) decrease lightness while maintaining or slightly boosting saturation to preserve color richness.
Random palette generation employs the golden angle (approximately 137.5 degrees), derived from the golden ratio (phi = 1.618), to distribute hues evenly around the color wheel. This mathematical approach ensures that randomly generated colors are maximally spaced and aesthetically pleasing. Accessibility validation follows the WCAG 2.1 relative luminance formula, calculating contrast ratios between foreground and background colors.
Color blindness simulation applies clinically validated transformation matrices that model protanopia, deuteranopia, and tritanopia cone response functions.
Practical Examples
A tech startup might use a triadic palette with a vibrant blue primary (#2563EB), warm orange accent (#EA580C), and fresh green for success states (#16A34A). This creates a dynamic, energetic brand identity while maintaining clear visual hierarchy.
An e-commerce fashion site could use an analogous palette of soft pinks and mauves for a luxurious feel, with a single complementary gold accent for call-to-action buttons. A healthcare application benefits from a monochromatic blue palette that conveys trust and professionalism, with semantic red reserved exclusively for critical alerts and error states.
Tips & Best Practices
Start with your brand's primary color and build outward using harmonies. Analogous palettes feel cohesive and calm, while complementary palettes create vibrant contrast. For most web projects, a 5-7 color palette is sufficient when combined with tints and shades.
Always test your palette against both white and dark backgrounds. A color that looks perfect on white may lose impact on dark mode. Use the shading templates feature to generate tints and shades that work across both contexts.
Limit saturated colors to accent elements like buttons and links. Large areas of highly saturated color cause visual fatigue. Instead, use desaturated or tinted versions for backgrounds and containers, reserving full saturation for interactive elements and calls to action.
Color harmonies are combinations of colors based on their positions on the color wheel. We offer 9 harmony types: Complementary (180° apart), Analogous (adjacent, ±30°), Triadic (120° apart), Tetradic (90° square), Split-Complementary (base + two adjacent to complement), Monochromatic (single hue variations), Double-Complementary (two adjacent + their complements), Clash (intentional tension at 90°), and Pentadic (five colors, 72° apart).
What is a Material Design tonal palette?
Material Design tonal palettes consist of 10 shades of a single color, numbered from 50 (lightest) to 900 (darkest). These include: 50, 100, 200, 300, 400, 500 (base), 600, 700, 800, and 900. This system provides consistent light and dark variants for UI design, ensuring proper contrast and visual hierarchy.
How do I ensure my colors are accessible?
Use the accessibility panel to check WCAG contrast ratios. For normal text, aim for at least 4.5:1 contrast (AA level). For large text (18pt+), 3:1 is acceptable. For AAA compliance, aim for 7:1 for normal text. Our tool shows pass/fail status for each color combination and simulates how colorblind users would perceive your palette.
What export formats are available?
Export your palette as: CSS custom properties (:root variables), SCSS/Sass variables, Tailwind CSS config, JSON data, Markdown documentation, PNG image swatch, PDF document with color details, or DOCX Word document. Each format is optimized for its intended use in development or design documentation.
Is my data sent to a server?
No. All palette generation and color calculations happen entirely in your browser using JavaScript. No color data, preferences, or palettes are transmitted to any server. Your color choices remain completely private on your device.
Can I reproduce the same palette later?
Yes. For harmony-based palettes, simply enter the same base color and select the same harmony type to get identical results. For random palettes, use the seed value feature to reproduce the exact same palette at any time. You can also export your palette as JSON or CSS and save it for future reference.
My Favorites
Drag to reorder
No favorites yet
Tap the ☆ on any tool page to bookmark it for quick access.