PURPLE

Blue Violet

No. 078

#8A2BE2rgb(138, 43, 226)hsl(271, 76%, 53%)

Blue Violet is #8A2BE2, rgb(138, 43, 226).

In CSS: blueviolet

Conversions
HEX#8A2BE2
RGBrgb(138, 43, 226)
HSLhsl(271, 76%, 53%)
HSVhsv(271, 81%, 89%)
CMYKcmyk(39%, 81%, 0%, 11%)
Copy CSS
color: #8a2be2; /* rgb */ color: rgb(138, 43, 226); /* hsl */ color: hsl(271, 76%, 53%);
Shades
Tints

Colors that go with Blue Violet

  • Complementary

  • Analogous

  • Triadic

Contrast

1 of 2 backgrounds pass AA

  1. On whitePass5.96 : 1
  2. On ink blackFail3.21 : 1

About Blue Violet

Blue Violet is the hex color #8A2BE2, which translates to rgb(138, 43, 226) in RGB and hsl(271, 76%, 53%) in HSL. On the color wheel it sits at 271 degrees, with a saturation of 76 percent and a lightness of 53 percent. Its OKLCH chroma of 0.250 is high, so Blue Violet is one of the more vivid purple tones here and is easy to overuse at large sizes.

How Blue Violet compares

Blue Violet is exactly the CSS keyword blueviolet, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is purple-700 (#8200DB), at a distance of 8.4. Inside this library the closest neighbour is Dark Violet at 8.3. Sorted by lightness, Blue Violet is number 14 of the 31 purple colors here.

Text on Blue Violet

2 of the five common text colors below clear WCAG AA for normal text on Blue Violet, led by White at 5.96:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Blue Violet already loaded as the background.

Contrast of common text colors on Blue Violet. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF5.96:1PassPassFail
Ink black #0F0F123.21:1FailPassFail
Mid grey #6B72801.23:1FailFailFail
Dark grey #3741511.73:1FailFailFail
Light grey #E5E7EB4.81:1PassPassFail

Building a palette around Blue Violet

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Blue Violet for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Blue Violet locked and let it fill in the rest.

Full values for Blue Violet

FormatValue
HEX#8A2BE2
RGBrgb(138, 43, 226)
HSLhsl(271, 76%, 53%)
HSVhsv(271, 81%, 89%)
CMYKcmyk(39%, 81%, 0%, 11%)
OKLCHoklch(53.38% 0.2503 301.37)
CIELABlab(42.19 69.84 -74.76)

Frequently asked questions

What is the RGB value of Blue Violet?

Blue Violet (#8A2BE2) is rgb(138, 43, 226): 138 red, 43 green and 226 blue on the 0 to 255 scale. Blue leads at 226, red follows at 138 and green trails at 43, which puts the hue at 271 degrees. In HSL the same color is hsl(271, 76%, 53%).

What colour is #8A2BE2?

#8A2BE2 is Blue Violet, a mid purple colour with a hue of 271 degrees, 76% saturation and 53% lightness. For print the CMYK breakdown is 39% cyan, 81% magenta, 0% yellow and 11% black. Its nearest neighbour in this library is Dark Violet, 8.3 away in CIELAB, a difference you can see.

Is Blue Violet a CSS color name?

Yes. The keyword blueviolet is one of the 148 named colors in CSS Color Module Level 4, so color: blueviolet; renders exactly #8A2BE2.

What colors go with Blue Violet?

Opposite Blue Violet on the color wheel sits the complementary #83E22B, the boldest accent by hue. For a calmer scheme use the analogous neighbours #2F2BE2 and #E22BDE; for a balanced three-color scheme use the triadic pair #E28A2B and #2BE28A. Of these, #83E22B has the most contrast against Blue Violet, at 3.65:1, enough for icons and large text.

What text color is readable on Blue Violet?

White (#FFFFFF) is the most readable on Blue Violet, at 5.96:1, which clears WCAG AA (4.5:1) but not AAA. 2 of the 5 common text colors tested pass AA for normal text.

Use Blue Violet in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.