Use this color palette generator from hex to turn a single brand color, logo shade, or CSS value into a cohesive 5-color scheme. Enter any 3-digit or 6-digit HEX code (with or without #), pick from the native color wheel, or click Random Seed, then switch between six classic color harmony rules—including analogous colors, complementary, split-complementary, triadic, tetradic, and monochromatic scales.
Six Color Harmony Modes Explained
Starting from a single seed color removes guesswork because every companion swatch sits at a deliberate angular relationship on the HSL color wheel:
- Analogous (
±30°&±60°): Generates neighboring hues that sit side by side on the wheel. Analogous colors create calm, cohesive interfaces, editorial layouts, and gradient backgrounds with minimal visual tension. - Complementary (
+180°): Pairs your base color with its direct opposite on the wheel, plus light and dark tints for readable hierarchy. Ideal for high-impact call-to-action buttons against neutral surfaces. - Split-Complementary (
+150°&+210°): Softens pure complementary contrast by pairing your base color with the two hues flanking its opposite, rounded out by a dark neutral anchor. - Triadic (
+120°&+240°): Spaces three primary hues evenly around the color wheel for energetic dashboards, badges, and illustrations. - Tetradic (
+90°,+180°,+270°): Uses four balanced hues at 90-degree intervals alongside a light neutral tint for multi-category charts and complex UIs. - Monochromatic (Tints & Shades): Keeps your exact base hue constant while stepping lightness from
16%to90%, delivering clean hover states, borders, and card surfaces.
How to Use This Color Palette Generator from Hex
- Set your seed color: Type a HEX value like
#2563EB(or2563eb) into the Base HEX field, click the color square to browse visually, or click Random Seed for inspiration. - Switch harmony rules: Click any of the six tabs to compare how your base color behaves across analogous, complementary, or monochromatic pairings.
- Explore subtle variations: Click Shuffle Variant to nudge lightness and saturation across companion swatches while preserving the selected hue geometry.
- Verify contrast and export: Each card displays HSL, OKLCH, and WCAG contrast against white (
W) and dark slate (B). Copy individual codes, export HEX / CSS / Tailwind OKLCH, download a PNG swatch strip, or click Open in Generator to adjust swatch counts (2–10 colors) and lock shades in the Random Color Palette Generator.
Pairing Single-HEX Harmonies with Image Extraction
Already working from a photograph or brand mood board? Pull your starting HEX code using our Color Palette Generator from Image, then paste it here to build matching tints, shades, and analogous colors for buttons, borders, and dark-mode surfaces.
All calculations run locally in your browser with zero sign-up or rate limits. Explore our About page to see how OKLCH and WCAG math are computed, or review our Terms of Service for commercial usage rights.