Skip to content

Violet

#EE82EE

Violet is the hex color #EE82EE, with RGB values 238, 130, 238. It is a CSS color keyword, so browsers render it from the name alone, and its value is fixed by the CSS Color Module.

PurpleCSS keyword

Quick colors, then fill the screen

Or a gradient

Or let it move

#EE82EErgb(238, 130, 238) · hsl(300, 76%, 72%)

Violet color codes

Every value for #EE82EE, ready to paste. Click any code to copy it.

Channel values for #EE82EE in each number base
ChannelDecimalShareHexOctalBinary
Red23893.33%EE35611101110
Green13050.98%8220210000010
Blue23893.33%EE35611101110

The nearest web-safe color is #FF99FF, from the 216-color palette browsers agreed on before displays could be trusted with more.

About violet

The CSS keyword is much pinker than true spectral violet, which sits at the far short-wavelength end and cannot be reproduced on a screen at all.

Shades, tints and tones

Every step is generated from #EE82EE. Click a swatch to copy its hex.

Shades of violet

A shade is the base color with black mixed in. Shades read as deeper and more dramatic, and they are what you reach for when a color needs to recede or carry weight.

Tints of violet

A tint is the base color with white mixed in. Tints turn pastel as they lighten, which makes them useful for backgrounds and for anything that has to sit behind text.

Tones of violet

A tone is the base color with grey mixed in. Tones lose the shout without losing the hue, and they are usually what separates a considered palette from a loud one.

The violet scale

The same color as the 50 to 950 ladder every CSS framework uses, with #EE82EE at 500. Click a step to copy its hex, or take the whole scale as variables for a design system.

Color schemes built on violet

Harmonies are positions on the color wheel rather than matters of taste, which is why they keep working across very different designs.

Complementary

Two colors from opposite sides of the wheel. They make each other look more vivid, which is why the pairing is used for anything that needs to stand out.

Analogous

Three neighbours on the wheel. Nothing competes, so the result reads calm and settled, closer to how colour behaves in nature.

Split complementary

The base plus the two colors either side of its complement. It keeps most of the contrast while being much easier to balance.

Triadic

Three colors spaced evenly around the wheel. Strong and lively, and usually best with one dominant color and two accents.

Tetradic

Two complementary pairs, forming a rectangle on the wheel. The richest scheme available, and the hardest to keep from shouting.

Monochromatic

One hue at different lightness levels. Effortlessly cohesive, and the safest way to build a palette around a brand color.

Colors close to #EE82EE

Near neighbours, for when this color is almost right. Each one shifts hue, saturation or lightness by a small step.

Violet color palettes

Five-color palettes built around #EE82EE, each following a different scheme. Click any swatch to copy it, or open the generator to build your own.

Analogous

Complementary

Triadic

Monochromatic

Open the palette generator to lock the colors you like and regenerate the rest.

Contrast and readability

Whether violet works as text, and what to put on top of it when it is the background. Ratios follow WCAG 2.1, where 4.5 is the bar for body text and 3 for large text.

Violet text on white background

2.32:1 · Poor

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Violet text on black background

9.06:1 · Excellent

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Used the other way round, #EE82EE as a background takes #000000 text. That is the higher-contrast of the two, and it is what the tool picks automatically for any chrome sitting on your color.

Violet reads better on a black background of the two. Contrast is a property of the pair, not of one color, so a color that fails here can still be perfectly usable against a different partner.

Share

The purple family

Violet sits in the purple family. Every named purple in the library, with violet first.

SwatchNameHexRGBHSL
Violet is a CSS keyword is the color on this page#EE82EE238, 130, 238300, 76%, 72%
Purple is a CSS keyword#800080128, 0, 128300, 100%, 25%
Lavender is a CSS keyword#E6E6FA230, 230, 250240, 67%, 94%
Mauve#E0B0FF224, 176, 255276, 100%, 85%
Plum is a CSS keyword#DDA0DD221, 160, 221300, 47%, 75%
Orchid is a CSS keyword#DA70D6218, 112, 214302, 59%, 65%
Lilac#C8A2C8200, 162, 200300, 26%, 71%
Amethyst#9966CC153, 102, 204270, 50%, 60%
Eggplant#61405197, 64, 81329, 20%, 32%
Dark orchid is a CSS keyword#9932CC153, 50, 204280, 61%, 50%
Thistle is a CSS keyword#D8BFD8216, 191, 216300, 24%, 80%