#8A2BE2

Blue Violet is a medium, saturated shade in the purple color family, with a cool feel. Its HEX code is #8A2BE2, which equals rgb(138, 43, 226) in RGB and hsl(271, 76%, 53%) in HSL. In print terms it converts to roughly C39 M81 Y0 K11, although exact CMYK results depend on the paper and color profile.

  • HEX#8A2BE2
  • RGB138, 43, 226
  • HSL271°, 76%, 53%
  • CMYK39, 81, 0, 11
  • FamilyPurple
  • ToneMedium, saturated

About Blue Violet

Purple shades blend the stability of blue with the energy of red. They are linked with creativity, luxury and imagination, and give designs a distinctive, premium feel. It works well for buttons, headings, illustrations and brand accents. Text in white is the most readable choice on this color, with a contrast ratio of 5.96:1. Its complementary color is #84E22C.

Download Blue Violet as an image

Choose a size and format, then download a solid-color image — or tick colors in the library to batch-download a ZIP.

Loading colors…

Custom color

#3B82F6

Shade scale

Tip: tick the checkbox on any swatch to add it to a batch ZIP. Everything is generated in your browser — nothing is uploaded to a server.

Blue Violet color codes

HEX#8A2BE2
RGBrgb(138, 43, 226)
HSLhsl(271, 76%, 53%)
HSV271°, 81%, 89%
CMYK39%, 81%, 0%, 11%
Decimal9055202

Shades and tints of Blue Violet

Lighter tints are mixed with white and darker shades are mixed with black.

  • 50#ECDCFA
  • 100#D8B8F5
  • 200#C595F1
  • 300#B172EC
  • 400#9E4EE7
  • 500#8A2BE2
  • 600#7324BC
  • 700#5C1D97
  • 800#451671
  • 900#2E0E4B
  • 950#170726

Color harmonies for Blue Violet

Contrast and accessibility of Blue Violet

Text colorSampleContrast ratioWCAG
White text on Blue VioletAa5.96:1AA (good)
Black text on Blue VioletAa3.52:1AA Large only

CSS code for Blue Violet

background-color: #8A2BE2;color: #8A2BE2;background-color: rgb(138, 43, 226);background-color: hsl(271, 76%, 53%);:root { --color-blue-violet: #8A2BE2; }class="bg-[#8A2BE2]"

Colors similar to Blue Violet

More purple shades

See all purple shades →

Frequently asked questions

What is the HEX code for Blue Violet?

The HEX code for Blue Violet is #8A2BE2.

What is the RGB value of Blue Violet?

Blue Violet has an RGB value of 138, 43, 226 (rgb(138, 43, 226)). In HSL it is 271°, 76%, 53%.

What text color should I use on Blue Violet?

Use white text on Blue Violet. White text has a contrast ratio of 5.96:1 and black text has 3.52:1; WCAG AA requires at least 4.5:1 for normal text.

What color goes well with Blue Violet?

The complementary color of Blue Violet is #84E22C. Analogous colors #2F2CE2 and #E22CDF also pair well.

Explore more