Violet color

Inspect Violet (#EE82EE) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.

#ee82ee

Violet

Violet color values

Violet

#EE82EE

Black text reads best on this background, at 9.06:1.

Violet is one of the 148 CSS named colors, and resolves to #EE82EE in every browser. In numbers that is rgb(238, 130, 238) and hsl(300, 76%, 72%). Perceptually it is a light, vivid color: OKLCH puts its lightness at 76% and its chroma at 0.186. It sits in the pinks at 327 degrees of OKLCH hue, and reads as a cool color.

White text only reaches 2.32:1 here, so black text is the safer pairing at 9.06:1. At this chroma it is loud enough to be an accent or a call to action, but it will fight anything else vivid placed next to it.

The closest CSS named colors to Violet, measured with CIEDE2000, are Orchid (#DA70D6), Plum (#DDA0DD), HotPink (#FF69B4). If Violet is not quite right, those are the nearest keywords to try before reaching for a custom value.

HEX

#EE82EE

RGB

rgb(238, 130, 238)

HSL

hsl(300, 76%, 72%)

HWB

hwb(300 51% 7%)

CMYK

cmyk(0%, 45%, 0%, 7%)

LAB

lab(69.62 53.29 -36.54)

LCH

lch(69.62 64.62 325.57)

OKLCH

oklch(76.19% 0.1861 327.21)

Is Violet accessible?

WCAG asks for 4.5:1 between body text and its background. On #EE82EE white text measures 2.32:1 and black text 9.06:1, so black clears it and white does not.

White text on Violet

WCAG 2.2

2.32:1

APCA

Lc 50

Fails AA body text

Fails AAA body text

Fails AA large text

Black text on Violet

WCAG 2.2

9.06:1

APCA

Lc 58

Passes AA body text

Passes AAA body text

Passes AA large text

Check Violet against any other color in the contrast checker.

Tints and shades of Violet

Violet sits at 76% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FFF5FE and down to #0F0010, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.

Tints, toward white

#FD90FD

20% lighter

#FFABFE

40% lighter

#FFC5FD

60% lighter

#FFDEFE

80% lighter

#FFF5FE

100% lighter

Shades, toward black

#C359C3

20% darker

#98309A

40% darker

#6D006F

60% darker

#3B003C

80% darker

#0F0010

100% darker

Build a full accessible scale from #EE82EE in the shade generator.

Colors that go with Violet

Hues rotated around #EE82EE in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.

Complementary

Violet sits at 327 degrees. Rotating it a half turn lands on 147 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.

Analogous

The neighbors of Violet at 297 and 357 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.

Triadic

327, 87 and 207 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.

Split complementary

Instead of the complement at 147 degrees, this pair flanks it at 117 and 177. You keep most of the contrast of a complementary pairing while losing the harshness.

Explore more combinations around Violet on the color wheel.

How Violet looks with color blindness

The biggest shift is under achromatopsia, where #EE82EE reads as #A1A1A1, 27.1 CIEDE2000 units away. If Violet is the only thing marking a state or a series, roughly one viewer in twelve will miss it.

Protanopia

#7C99F3

Deuteranopia

#91A5E9

Tritanopia

#F689A3

Achromatopsia

#A1A1A1

Colors similar to Violet

The nearest CSS keywords to #EE82EE, ranked by perceptual distance rather than by how close their hex digits happen to look.