violet: Hex #EE82EE, RGB and HSL

CSS Named Colors · Purples and violets

violet is a CSS named color from the Purples and violets group. It is exactly #EE82EE, RGB 238, 130, 238, which is HSL 300°, 76%, 72% (rounded). Use it in CSS as color: violet; and every browser renders the same sRGB value.

Hex
#EE82EE
RGB
238, 130, 238

Swatch and contrast

violet#EE82EErgb(238, 130, 238)
White text2.3:1Black text9.1:1
Exact sRGB value of the keyword; your screen's calibration still affects what you see.

violet specifications

Hex#EE82EE
RGB238, 130, 238
HSL300°, 76%, 72%

Also known as

#EE82EEEE82EE

Closest RAL Classic colors

Nearby CSS named colors

All CSS named colors

See all 148 named colors →

Sources

  1. W3C: CSS Color Module Level 4, §6.1 Named Colors
  2. MDN Web Docs: <named-color>
  3. npm package color-name 2.1.1 (MIT): keyword list used as a cross-check
  4. Sharma, Wu & Dalal (2005): The CIEDE2000 color-difference formula

Values last checked against these sources on November 15, 2026. · How we check data

Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.