TintShelf
Interface

Violet Color Code: Hex #EE82EE

The hex code for Violet is #EE82EE (the CSS keyword violet). Violet RGB code: rgb(238, 130, 238). The xkcd color survey gives #9A0EEA instead, which looks clearly different; both codes are below with their source.

CSS Color 4#EE82EETop: the code browsers use
xkcd color survey, meodai color-name-list#9A0EEABelow: compare edge to edge

Violet color codes: each Violet hex code in every format

HEX#EE82EE
RGBrgb(238, 130, 238)
HSLhsl(300, 76%, 72%)
OKLCHoklch(76.2% 0.186 327.2)
LABlab(69.6 53.3 -36.5)
CMYKcmyk(0%, 45%, 0%, 7%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
purple
Contrast
2.32:1 with white, 9.06:1 with black
CSS keyword
violet
Character
light, vivid
Readable text on it
black (AA)

The color name comes from Middle English and Old French violete, from Latin viola, the name of the violet flower, and is recorded in English from 1370.

A light, vivid purple with a warm cast. In code, violet gives exactly this web value. If you mean the color as people usually picture the name, the survey value #9A0EEA is closer: it is darker and more vivid.

Black text reads best on it; white text does not pass WCAG AA. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Orchid, its closest named neighbour, it looks lighter, about as saturated and neither warmer nor cooler; beside Plum it looks darker, more vivid and warmer.

Colors that go with Violet

Complementary: the opposite of Violet

Open in generator

  • #EE82EEBlack text 9.06:1
  • #4CD067Black text 10.53:1
  • #F9BCF7Black text 13.56:1
  • #2C803DWhite text 4.93:1

Analogous

Open in generator

  • #BC9DFFBlack text 9.41:1
  • #EE82EEBlack text 9.06:1
  • #FF83B3Black text 9.15:1
  • #FBCFFABlack text 15.41:1

Triadic

Open in generator

  • #EE82EEBlack text 9.06:1
  • #DCAA00Black text 9.79:1
  • #00C8DCBlack text 10.30:1
  • #FDE1FCBlack text 17.35:1

Monochrome

Open in generator

  • #422042White text 13.84:1
  • #934E93White text 5.60:1
  • #EE82EEBlack text 9.06:1
  • #F6AAF4Black text 11.97:1
  • #FBCFFABlack text 15.41:1

With neutrals

Open in generator

  • #EE82EEBlack text 9.06:1
  • #FDE1FCBlack text 17.35:1
  • #1F0B1FWhite text 18.65:1
  • #A283A1Black text 6.30:1

How tints, shades and harmonies are calculated

Preview

Heading on Violet

Body text on this color, 9.06:1.

Button

Heading in Violet

Text in this color on white, 2.32:1.

Button

Tints and shades

  1. #FDE1FC
  2. #FBCFFA
  3. #F9BCF7
  4. #F6AAF4
  5. #F296F1
  6. #EE82EE
  7. #C068C0
  8. #934E93
  9. #693669
  10. #422042
  11. #1F0B1F

WhiteVioletBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.