violet violet #ee82ee

violet is #ee82ee in hexadecimal, rgb(238, 130, 238) in decimal and hsl(300, 76, 72) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#ee82ee
HEX#ee82ee
RGBrgb(238, 130, 238)
HSLhsl(300, 76%, 72%)

Harmonies

Complementary

#81ee81

Analogous

#b881ee#ee81b8

Triadic

#eeee81#81eeee

Split complementary

#b8ee81#81eeb8

Tints & shades

#e750e7#ea66ea#ee81ee#f29cf2#f5b3f5

Accessibility

vs #ffffff2.32:1
vs #0000009.06:1
Suggested text color#000000 · 9.06:1 · WCAG AAA

Similar named colors

orchid#da70d6plum#dda0ddhotpink#ff69b4thistle#d8bfd8lightpink#ffb6c1pink#ffc0cb

FAQ

What is the HEX code for violet?

violet is #ee82ee in hex, rgb(238, 130, 238) in decimal and hsl(300, 76%, 72%) in HSL. In CSS you can write either color: violet; or color: #ee82ee; — they are equivalent.

What colors go with violet?

The complementary #81ee81 gives the strongest contrast, the analogous pair #b881ee / #ee81b8 is the safest, and the triad #eeee81 / #81eeee adds more tension. All three are derived from the 300° hue of #ee82ee.

Does #ee82ee read better on white or black?

Its contrast is 2.32:1 against white and 9.06:1 against black. Use #000000 text on it — that gives 9.06:1, which meets WCAG AAA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors