TintShelf
Interface

Blue Violet Color Code: Hex #8A2BE2

The hex code for Blue Violet is #8A2BE2 (the CSS keyword blueviolet). Blue Violet RGB code: rgb(138, 43, 226). The xkcd color survey gives #5D06E9 instead, which looks slightly different; both codes are below with their source.

CSS Color 4#8A2BE2Top: the code browsers use
meodai color-name-list#4E32B2Below: compare edge to edge

Blue Violet color codes: each Blue Violet hex code in every format

HEX#8A2BE2
RGBrgb(138, 43, 226)
HSLhsl(271, 76%, 53%)
OKLCHoklch(53.4% 0.250 301.4)
LABlab(41.2 63.0 -76.0)
CMYKcmyk(39%, 81%, 0%, 11%)

Sources

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

Properties

Hex codes
3 different ones in 3 color lists; they look clearly different
Family
purple
Contrast
5.96:1 with white, 3.52:1 with black
CSS keyword
blueviolet
Character
dark, vivid
Readable text on it
white (AA)

A dark, vivid purple with a cool cast. In code, blueviolet gives exactly this web value. If you mean the color as people usually picture the name, the survey value #5D06E9 is closer: it is darker and more vivid.

White text reads best on it; black text works only for large headings. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Dark Violet, its closest named neighbour, it looks about as light, more muted and cooler; beside Rebecca Purple it looks lighter, more vivid and cooler.

Colors that go with Blue Violet

Complementary: the opposite of Blue Violet

Open in generator

  • #8A2BE2White text 5.96:1
  • #627700White text 5.05:1
  • #BB96F4Black text 8.78:1
  • #3A4700White text 10.09:1

Analogous

Open in generator

  • #424EFAWhite text 5.67:1
  • #8A2BE2White text 5.96:1
  • #B400AAWhite text 5.96:1
  • #CDB3F9Black text 11.41:1

Triadic

Open in generator

  • #8A2BE2White text 5.96:1
  • #9F5900White text 5.38:1
  • #007F70White text 4.92:1
  • #DFD0FCBlack text 14.57:1

Monochrome

Open in generator

  • #22053EWhite text 18.11:1
  • #53168CWhite text 11.28:1
  • #8A2BE2White text 5.96:1
  • #AA78EFBlack text 6.64:1
  • #CDB3F9Black text 11.41:1

With neutrals

Open in generator

  • #8A2BE2White text 5.96:1
  • #DFD0FCBlack text 14.57:1
  • #0D011CWhite text 20.23:1
  • #8270A0Black text 4.77:1

How tints, shades and harmonies are calculated

Preview

Heading on Blue Violet

Body text on this color, 5.96:1.

Button

Heading in Blue Violet

Text in this color on white, 5.96:1.

Button

Tints and shades

  1. #DFD0FC
  2. #CDB3F9
  3. #BB96F4
  4. #AA78EF
  5. #9A57E9
  6. #8A2BE2
  7. #6E21B6
  8. #53168C
  9. #3A0D64
  10. #22053E
  11. #0D011C

WhiteBlue VioletBlack

Similar named colors

Lists and sources

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.