Color tools

Color Wheel: Harmonies, Models and Palette Generator

Spin an artist's RYB, screen RGB, print CMY or perceptual OKLCH wheel, pick a harmony, and turn it into a palette ready for design and code.

  • Free foreverNo trial, no paywall, no usage limits.
  • No sign-upOpen the page and start. We never ask for an email to use a tool.
  • PrivateEverything runs in your browser. Your input is never uploaded or stored on our servers.
  • Works offlineOnce the page has loaded, the tool keeps working without a connection.
Wheel
Traditional painter's wheel (Itten): red, yellow and blue primaries. Red's complement is green. Best for art, illustration and classic color-theory harmonies.Additive light, as screens mix it (the HSL/HSB hue circle): red, green and blue primaries. Red's complement is cyan. Best for anything shown on a screen.Subtractive ink, as printers mix it: cyan, magenta and yellow primaries, with red, green and blue as secondaries. Same circle as RGB, so red's complement is still cyan.Perceptually uniform: every color at one lightness looks equally light, so harmonies stay balanced. Colors are gamut-mapped to sRGB. Best for UI palettes and design systems.
Vision
Normal: Typical color vision.Protanopia: No working red-sensitive cones. Reds look dark, almost black-brown, and confuse with greens and browns.Deuteranopia: No working green-sensitive cones. Red and green collapse into similar olive and ochre tones; blues stay distinct.Tritanopia: Rare. No working blue-sensitive cones: blues look teal or gray, yellows look pink or light gray.Grayscale: Achromatopsia. Very rare complete color blindness: only lightness is seen, like a grayscale photo. A good test that your design does not rely on hue at all.
Back to the default color, harmony and wheel. Clears locks and adjustments.

RYB artist's wheel

Drag the large handle to pick the base color: around the wheel changes hue, toward the edge adds saturation. Grab any other handle to rotate the whole harmony.

Base color and harmony

Type any CSS color (hex, rgb(), hsl(), oklch() or a name like tomato), or use the picker. The wheel moves to match.
Position around the RYB wheel, in degrees. 0° is at the top.
229°
Distance from the center of the wheel: 0% is gray, 100% is the purest version of the hue.
76%
HSB brightness: 100% is the most luminous version of the hue, 0% is black. Drag it down to see the darker colors on the wheel.
96%

Harmony

A harmony is a fixed geometric relationship on the wheel. Angles are measured on the wheel you selected, so RYB and RGB give different partners.
Two hues directly opposite each other on the wheel: the strongest possible hue contrast.Your color plus the two hues either side of its complement. Almost as punchy as complementary, with less tension.Neighboring hues that sit side by side on the wheel, like the colors of a sunset.Three neighboring hues plus the complement of the middle one as a single accent.Three hues evenly spaced, 120° apart, forming a triangle.Two complementary pairs forming a rectangle on the wheel.Four hues evenly spaced, 90° apart.Your color, its two neighbors, and the two hues either side of its complement: five colors in an X shape.Your color and one neighbor, set against the two hues either side of its complement.One hue from light to dark: lighter, softer versions on one side of your color and deeper ones on the other.Your color mixed with increasing amounts of black.Your color mixed with increasing amounts of white.Your color mixed with gray: the same hue, progressively softer and more muted.

Triadic: Vibrant, playful designs such as games and kids' brands. Let one hue lead and use the others sparingly.

Palette (3 colors)

Click a value to copy it. Lock a color to keep it while you explore, move colors to reorder them, or open the sliders to fine-tune one.
Copy all hex codes
ShowHex code for CSS, design tools and brand guides.Red, green and blue channels (0–255), as screens mix light.Hue, saturation, lightness: the CSS hsl() function.Hue, saturation, brightness (also called HSV), as Figma and Photoshop pickers show it.Cyan, magenta, yellow, black ink percentages. A naive conversion: use your printer's ICC profile for final print work.CIE LAB (D50, as in CSS): lightness plus green–red and blue–yellow axes.CIE LCH: LAB as lightness, chroma and hue.Perceptual lightness, chroma and hue. The modern CSS choice for design tokens.
  1. 1BaseLock: keep this color while you change the base or harmony
    Copy hex

    Azure

    CoolCool: greens, blues and violets. They tend to feel calm and appear to recede.
    3.6AA Largecontrast against whiteAgainst white: 3.67:1, passes AA only for large text, 18pt or 14pt bold (3:1 or more), and for icons and borders.5.7AAcontrast against blackAgainst black: 5.7:1, passes AA for normal text (4.5:1 or more).
    Move leftMove right
    Adjust this color
  2. 2Lock: keep this color while you change the base or harmony
    Copy hex

    Rose

    WarmWarm: reds, oranges and yellows. They tend to feel energetic and appear to come forward.
    3.6AA Largecontrast against whiteAgainst white: 3.63:1, passes AA only for large text, 18pt or 14pt bold (3:1 or more), and for icons and borders.5.7AAcontrast against blackAgainst black: 5.77:1, passes AA for normal text (4.5:1 or more).
    Move leftMove right
    Adjust this color
  3. 3Lock: keep this color while you change the base or harmony
    Copy hex

    Yellow

    WarmWarm: reds, oranges and yellows. They tend to feel energetic and appear to come forward.
    1.3Failcontrast against whiteAgainst white: 1.3:1, fails WCAG text contrast (under 3:1). Avoid this pairing for text.16.1AAAcontrast against blackAgainst black: 16.1:1, passes AAA for all text (7:1 or more).
    Move leftMove right
    Adjust this color
DoneTriadic on the RYB artist's wheel · 3 colors · 2 warm, 1 cool

60-30-10 preview

The 60-30-10 rule of thumb: about 60% dominant color, 30% secondary, 10% accent. Pick which palette color plays each role.
Use a very light tint of the dominant color as the page, as most light UIs do.Use a deep shade of the dominant color as the page: a quick dark-mode check.Use the dominant color exactly as it is, even if it is loud.
Shuffle roles

Export

Copy or download the palette as code, a swatch image, or a link that reopens it.
CSS custom properties on :root. Works in any stylesheet.A Tailwind CSS v4 @theme block: each color becomes bg-*, text-* and border-* utilities.Sass variables plus a map you can loop over.Every color as HEX, RGB, HSL and OKLCH, for scripts and design tokens.A vector swatch sheet you can drop into Figma, Illustrator or a slide.
Prefix for the variable names: brand gives --brand-1, --color-brand-1 (Tailwind) or $brand-1.
How each color is written. OKLCH is the modern choice for design tokens; HEX is the most compatible.
Download a PNG image of the swatches with their hex codes (2x resolution).Copy a link that reopens this base color, harmony and wheel model.

Want a site designed with this level of care? Talk to our team

Quick answer

A color wheel arranges hues in a circle so you can see how they relate: colors opposite each other are complementary, neighbors are analogous, and evenly spaced hues form triads and squares. On Playxoft's free Color Wheel, drag the base handle or type any color, choose a harmony such as complementary or triadic, and the tool builds the palette on the RYB, RGB, CMY or OKLCH wheel, with values to copy and CSS, Tailwind, SVG or PNG exports.

  • RYB, RGB, CMY and OKLCH wheels
  • 13 color harmonies
  • Lock, reorder and adjust colors
  • 8 color formats
  • Contrast and color vision checks
  • 60-30-10 preview
  • CSS, Tailwind, SVG and PNG export
  • Shareable links

How to use the Color Wheel

  1. 1Pick a Wheel: RYB for classic art theory, RGB for screens, CMY for print, or OKLCH for perceptually even UI palettes.
  2. 2Set the base color: drag the large handle, use the arrow keys, or type any CSS color into Base color.
  3. 3Choose a Harmony such as Complementary, Triadic or Analogous, and adjust its angle when a slider appears.
  4. 4Refine the palette: lock colors you like, move them, or open Adjust this color to nudge a single swatch.
  5. 5Check the Vision preview and the contrast badges, then see the colors in use in the 60-30-10 preview.
  6. 6Export CSS variables, a Tailwind v4 theme, SCSS, JSON, SVG or PNG, or copy a share link.

How do you use a color wheel?

A color wheel is a map of hue. Going around the circle changes the hue (red, orange, yellow, green, blue, violet and back to red); moving toward the edge makes a color more saturated; the brightness or lightness slider makes the whole wheel lighter or darker. Because the hues sit at fixed angles, relationships between colors become geometry: a color and the one directly opposite are complementary, neighbors are analogous, and three hues 120° apart are a triad.

To build a palette with this tool:

  1. Start from a color you already need, such as a brand or product color, and set it as the base.
  2. Pick a harmony. The extra handles show where its partner colors sit, and they follow the base as you drag.
  3. Give each color a job. One should dominate, one support it and one act as the accent; the 60-30-10 preview shows how that balance looks in an interface.
  4. Check value contrast and color vision before you commit: the badges on every swatch show the WCAG contrast ratio against white and black.

Grabbing any handle other than the base rotates the whole harmony, which is a quick way to try the same relationship in a different part of the wheel.

What is the complementary color of each color?

A complementary color sits directly opposite on the color wheel, 180° away. The answer depends on the wheel: painters use the RYB wheel, while screens and printers use the RGB and CMY wheels, which share the same circle.

ColorComplement on the RYB wheel (paint)Complement on the RGB/CMY wheel (screens, print)
RedGreenCyan
OrangeBlueAzure
YellowVioletBlue
GreenRedMagenta
BlueOrangeYellow
VioletYellowChartreuse

Switch the Wheel setting in the tool to see both answers for any color you pick.

RYB vs RGB vs CMY vs OKLCH: which color wheel should you use?

All four wheels put hues in a circle, but they disagree about where each hue sits, so the same harmony gives different colors:

WheelPrimariesComplement of redBest for
RYB (artist's wheel)Red, yellow, blueGreenPainting, illustration, art education and classic color-theory exercises
RGB (light)Red, green, blueCyanAnything shown on a screen: websites, apps, video and games
CMY (print)Cyan, magenta, yellowCyanPrint and packaging, where CMYK inks are used
OKLCH (perceptual)None: a continuous hue circleA cyan-teal of the same lightnessUI palettes, design systems and accessible color scales

RYB is the wheel taught in art class, laid out like Johannes Itten's 12-part wheel. It gives the familiar painter's pairs: red and green, yellow and violet, blue and orange. RGB describes how screens add light, and CMY how inks subtract it. They are the same circle with the roles swapped: RGB's secondaries (cyan, magenta, yellow) are CMY's primaries, which is why both put cyan opposite red.

OKLCH is a modern perceptual model: its lightness and chroma are designed to match how people see color, so every color at one lightness looks equally light. That makes harmonies built on it noticeably more balanced: a triad in OKLCH will not have one color glaring brighter than the other two. Colors are kept inside the sRGB gamut by reducing chroma, never by shifting hue.

What are the color harmonies, and when should you use each?

A harmony is a fixed relationship on the wheel. The angles in this table are measured from your base color; the tool lets you widen or narrow the ones marked adjustable.

HarmonyAngles from the baseColorsUse it for
Complementary0°, 180°2A strong accent against a main color
Split-complementary0°, 150°, 210° (adjustable)3Two accents with less tension than complementary
Analogous0°, ±30°, ±60° (adjustable)3 or 5Calm, cohesive, natural themes
Accented analogous0°, ±30°, plus 180°4A harmonious palette with one call-to-action color
Triadic0°, 120°, 240°3Vibrant, playful brands and illustration
Tetradic (rectangle)0°, 60°, 180°, 240° (adjustable)4Rich palettes for charts and dashboards
Square0°, 90°, 180°, 270°4Bold, evenly varied category colors
Double split-complementary0°, ±30°, 150°, 210°5Complex illustration and data visualization
Compound0°, 30°, 150°, 210° (adjustable)4Two accents with a softer edge
MonochromaticOne hue, light to dark3 to 7Minimal, elegant interfaces
ShadesBase mixed with black3 to 7Hover, pressed and dark-mode states
TintsBase mixed with white3 to 7Backgrounds, highlights and badges
TonesBase mixed with gray3 to 7Muted palettes, borders and secondary text

The more hues a scheme has, the more it needs one of them to lead. Four equal colors fight for attention; one dominant hue with the rest as supporting and accent colors reads as a design.

How do I build a UI color palette from a color wheel?

Harmonies give you hues. A usable interface palette also needs neutrals, states and enough contrast. A reliable process:

  • Lead with one hue. Use your brand or base color as the primary action color, and treat harmony partners as accents, illustrations and charts.
  • Add neutrals. Most of a screen is background, surfaces and text. Grays tinted very slightly toward your brand hue look more polished than pure grays.
  • Generate a scale per color. Use the Tints and Shades harmonies (or the Tailwind color generator) to get light backgrounds, borders, hover and pressed states from each hue.
  • Keep semantic colors separate. Success, warning and error colors should be recognizable on their own, and should not be confused with your accent. Always pair them with an icon or a label.
  • Check contrast early. Body text needs at least 4.5:1 against its background (WCAG AA). The badges on every swatch show the ratio against white and black; use the contrast checker for exact pairs.
  • Test without color. The Vision preview simulates protanopia, deuteranopia and tritanopia, and Grayscale checks value contrast. If the design still works there, it works for everyone.
  • Prefer OKLCH for scales. Equal lightness steps in OKLCH look like equal steps, which is why modern design systems define their palettes in it.

How accurate are the colors on this wheel?

Every color is computed with the standard formulas from CSS Color Module Level 4, the same math browsers use for hsl(), lab() and oklch(). A few details matter if you need exact values:

  • RYB is a traditional arrangement, not a measured color space, so there is no single official RYB-to-RGB table. This wheel maps the six RYB primaries and secondaries onto pure screen hues and interpolates between them, so a color can move between wheels without drifting.
  • OKLCH colors that do not fit the sRGB gamut are brought inside it by lowering chroma while keeping lightness and hue, the approach the CSS specification recommends.
  • CMYK values are a simple mathematical conversion. Real print colors depend on the paper, inks and press, so final artwork should be converted with your printer's ICC profile. Use the color converter for every other format.

Everything runs in your browser. Shared links only contain the base color, harmony and wheel.

Frequently asked questions

On the traditional RYB artist's wheel the complement of red is green. On the RGB and CMY wheels used for screens and print it is cyan. Both are correct within their own model; switch the Wheel setting to compare them side by side.
Neither is universally correct. RGB describes how screens mix light and CMY how inks mix, so they predict real mixing on those devices. RYB is the traditional painter's model that art education is built on. Use RGB or OKLCH for digital work and RYB for art and classic color-theory exercises.
A tint is a color mixed with white, so it gets lighter. A shade is a color mixed with black, so it gets darker. A tone is a color mixed with gray, so it becomes softer and less saturated while keeping its hue.
OKLCH is perceptually uniform: colors with the same lightness value look equally light whatever their hue. In HSL, yellow at 50% lightness looks far brighter than blue at 50%. Harmonies built in OKLCH stay balanced and their contrast is more predictable.
Most interfaces work well with one dominant brand color, one or two accents and a set of neutrals, plus semantic colors for success, warning and error. Three to five harmony colors is plenty; generate tints and shades of each for backgrounds, borders and hover states.
Yes. Export CSS custom properties, a Tailwind CSS v4 @theme block, SCSS variables, JSON, an SVG swatch sheet or a PNG image. Copy share link creates a URL that reopens the same base color, harmony and wheel model.
No. Every calculation runs in your browser. Only display preferences, such as which color formats to show, are remembered locally on your device.

Last updated by the Playxoft engineering team.

From the designers who built this tool

Want your site to look this polished?

Consistent color, crisp typography and fast pages are what make a site feel premium. We build accessible, high-converting websites with design systems that stay consistent everywhere. Send us your site and we will share honest recommendations, free.