Huebook

Blue Violet

Blue Violet is a dark, saturated violet color with the hex code #8A2BE2 (hue 271°, saturation 76%, lightness 53%). It is also the CSS named color blueviolet.

#8A2BE2
NameHEXRGBHSLCMYKOKLCH
Blue Violet#8A2BE2138, 43, 226271°, 76%, 53%39, 81, 0, 1153.4% 0.250 301

Contrast with white text 5.96:1, with black text 3.52:1 — use white text on Blue Violet.

blueviolet is one of the 148 named colors in CSS, with exactly this value, so color: blueviolet works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Blue Violet

Move the sliders to make Blue Violet lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Blue Violet
  • HEX#8A2BE2
  • RGBrgb(138 43 226)
  • HSLhsl(271 76% 53%)

Variations of Blue Violet

Text on Blue Violet

White textThe quick brown fox5.96:1 · AA pass · AAA large text only
Black textThe quick brown fox3.52:1 · AA large text only · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Blue Violet with color blindness

Normal #8A2BE2
Protanopia #0063E7
Deuteranopia #0063DF
Tritanopia #765F89

How Blue Violet appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#E6D2F9
#C18FF0
#9C4CE6
#761CCA
#4F1287
#270943

Colors that go with Blue Violet

Six color schemes built on Blue Violet with classic harmony rules. The complementary scheme pairs it with Luxurious Lime (#88EE22), the color opposite it on the color wheel.

Nearest CSS named colors

Similar medium purple colors

Questions

What is the hex code for Blue Violet?

#8A2BE2 — RGB 138, 43, 226, HSL 271°, 76%, 53%.

Is Blue Violet a warm or cool color?

Cool — its hue sits at 271° on the color wheel.