violet (#EE82EE)

violet is a CSS named color with the hex code #EE82EE, rgb(238, 130, 238). It is a pale, saturated magenta.

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

Full #EE82EE details: palettes, shades, color-blind view →

Description

Violet has a hue of 300°, saturation 76% and lightness 72%, which places it in the pink & magenta family. Its strongest channel is red (238).

Using violet in CSS

.title { color: violet; }
.box   { background: violet; border-color: #ee82ee; }
.soft  { background: rgb(238 130 238 / 20%); }   /* violet at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
orchid#da70d6218, 112, 2145.6
plum#dda0dd221, 160, 2218.7
hotpink#ff69b4255, 105, 18011.8
fuchsia#ff00ff255, 0, 25512.2
mediumorchid#ba55d3186, 85, 21114.3
palevioletred#db7093219, 112, 14717.4
mediumpurple#9370db147, 112, 21917.6
deeppink#ff1493255, 20, 14719

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 2.32:1; with black text: 9.06:1. Black body text on violet meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for violet?
#EE82EE.
What colors are similar to violet?
orchid (#da70d6), plum (#dda0dd), hotpink (#ff69b4).