Free Accessible CSS Gradient Generator

Color Wheel

Pick a colour, choose a scheme, and get matching colours instantly — with contrast ratings and a colour-blind preview for every result.

Drag the ring, or focus it and use the arrow keys (hold Shift for bigger steps).

Colour scheme

Wheel type

Your colours

Click a colour to copy its hex code. “Aa” shows the better text colour (black or white) and its WCAG contrast.

Build a gradient from these colours
Colour-blind preview

Approximate previews of how this scheme can look with common types of colour blindness.

Export

How to use the color wheel

  1. Enter a hex code, use the colour picker, or drag the ring to choose a base colour.
  2. Pick a scheme: complementary, analogous, triadic, split-complementary, tetradic, square or monochromatic.
  3. Click any result to copy its hex code, or open Export for CSS variables, Tailwind v4 theme colours or JSON.
  4. Open Colour-blind preview to see whether the colours in your scheme stay distinguishable.

The address bar updates as you work, so you can share or bookmark any scheme.

Color schemes explained

Complementary colours sit directly opposite each other on the wheel. The pairing gives the strongest contrast, which suits calls to action, but two saturated opposites placed side by side can vibrate. Use one as the dominant colour and the other as an accent.

Analogous schemes use neighbouring colours. They feel calm and cohesive, and work well for backgrounds and illustration, though they offer little contrast on their own.

Triadic schemes space three colours evenly around the wheel. They stay lively without the tension of complementary pairs. Let one colour lead and use the other two sparingly.

Split-complementary keeps the base colour and replaces its opposite with the two colours on either side of it. It keeps most of the contrast with less tension.

Tetradic (rectangle) and square schemes use four colours. They are rich and flexible, but easy to overdo, so choose one dominant colour and keep the rest as accents.

Monochromatic schemes keep one hue and vary its lightness. They are the safest choice for cohesive interfaces, and a good way to build tints and shades.

RGB or RYB: which wheel should you use?

Screens mix light, so digital colour is built on red, green and blue. On the RGB wheel the complement of red is cyan, and the complement of blue is yellow. This is the wheel CSS, design tools and image editors use, so it is the default here.

Traditional painting is taught on the RYB wheel, built on red, yellow and blue. There, red pairs with green, blue with orange, and yellow with violet. This wheel is a rule of thumb for artists rather than a measured model, so the RYB option here is an approximation. Switch to it when you want the pairings you learned in art class.

Is your colour scheme accessible?

A scheme can look balanced and still fail real users. Every result shows the better text colour (black or white) and its WCAG contrast ratio: 4.5:1 is the AA minimum for normal text and 3:1 for large text. The colour-blind preview then shows how the scheme looks with protanopia, deuteranopia, tritanopia and achromatopsia, and warns when two colours become hard to tell apart.

The previews are approximations based on published simulation models, so treat them as a guide and not a diagnosis. To check contrast across a whole gradient, use the gradient generator, or read Getting Started with Accessible CSS Gradients.

Common questions

What is the complementary colour of blue?

On the RGB (screen) wheel the complement of blue is yellow. On the RYB (artist) wheel it is orange.

What is the complementary colour of red?

Cyan on the RGB wheel, and green on the RYB wheel.

What colours make a triadic scheme?

Any three colours spaced 120° apart. On the RGB wheel the classic triad is red, green and blue. On the RYB wheel it is red, yellow and blue.

Where next?

Turn a scheme into a gradient with the button above, or browse ready-made colour palettes, colour shades and CSS gradients.