Purple color: codes and shades of purple

Purple is #800080 in HEX and rgb(128, 0, 128). Pastel purple is #E0BBE4, light purple #CBC3E3, violet #8601AF on the artist wheel.

HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
CMYK0, 100, 0, 50
OKLCHoklch(0.42 0.19 328)
Formats
HSVhsv(300, 100%, 50%)
LABlab(29.7 56.1 -36.3)
OKLABoklab(0.421 0.165 -0.101)
DEC8388736

CMYK is approximate: printers differ

Open in the color picker

Shades of purple

Lavender#E6E6FA
Periwinkle#CCCCFF
Pastel purple#E0BBE4
Light purple#CBC3E3
Thistle#D8BFD8
Mauve#E0B0FF
Plum#DDA0DD
Lilac#C8A2C8
Orchid#DA70D6
Lavender purple#967BB6
Medium purple#9370DB
Medium orchid#BA55D3
Show all 24 shades
Amethyst#9966CC
Dark orchid#9932CC
Blue violet#8A2BE2
Royal purple#7851A9
Dark violet#9400D3
Plum purple#8E4585
Violet#8601AF
Rebecca purple#663399
Purple#800080
Eggplant#614051
Indigo#4B0082
Midnight purple#280137

The full grid lists every named purple with its code, from light to dark.

Purple palettes

What goes with purple

Purple goes with gold and yellow, its opposites on the artist wheel; with gray, white and silver for a cool look; with pink and blue as neighbors; and with sage or olive green for a softer contrast.

How to make purple

Mix red and blue. Use more blue for violet, more red for a red-purple, and add white for lavender or lilac.

Purple has long stood for royalty and luxury, because purple dye was once rare and costly. Today it also means creativity, mystery and calm, and soft purples feel gentle and romantic.

Printables

Shades of purple with names

The light purples are lavender #E6E6FA, thistle #D8BFD8, pastel purple #E0BBE4 and light purple #CBC3E3. They are soft and calm, loved for bedrooms, weddings and spring. Lilac #C8A2C8 and mauve #E0B0FF are a little pinker; periwinkle #CCCCFF is a little bluer. The middle purples are orchid #DA70D6, lavender purple #967BB6 and amethyst #9966CC. Strong purples are violet, purple #800080 and royal purple #7851A9. The darkest purples are indigo #4B0082, eggplant #614051 and midnight purple #280137, used in dark, moody designs.

The word "violet" is used two ways. On the artist color wheel, violet is the secondary color between red and blue (#8601AF on this site's wheel). In CSS, "violet" is a light pinkish purple, #EE82EE. A pinky purple, between pink and purple, is called orchid, mauve or magenta, depending on how strong it is.

Purple color codes

CSS "purple" is #800080: red and blue light at half strength, no green. In RGB it is rgb(128, 0, 128), in HSL hsl(300, 100%, 25%). A bright, screen purple is closer to #8000FF; a light purple hex that works well for backgrounds is #CBC3E3, and the pastel purple hex is #E0BBE4.

What colors go with purple

Purple's opposite on the artist wheel is yellow, so purple and gold or mustard make a rich, regal pair. For a calm look, combine purple with gray, white or silver. Pink and blue are purple's neighbors and blend into soft, analogous palettes such as lavender, blush and periwinkle. Sage and olive green give a gentle, natural contrast; plum with sage is popular for weddings and living rooms. Purple with black looks dramatic; lavender with cream looks romantic.

How to make purple

Purple is a secondary color: mix red and blue. Cool reds such as crimson or magenta give the cleanest purple. Add white for pastel purples, a little black or blue for dark purples.

Questions and answers

What is the hex code for purple?

#800080, rgb(128, 0, 128).

What is the hex code for pastel purple?

#E0BBE4. Light purple is #CBC3E3 and lavender #E6E6FA.

What goes with purple?

Gold, yellow, gray, white, silver, pink, blue, sage green and black.

What is the opposite color of purple?

Yellow on the artist color wheel; on the screen wheel, the opposite of #800080 is green #008000.

What is the midnight purple color code?

#280137, a near-black purple.

What is the hex code for violet?

On the artist wheel, violet is #8601AF. CSS "violet" is a lighter #EE82EE.