PURPLE

Blue Violet

#8A2BE2
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%);
Contrast
On whitePass · 5.96 : 1
On ink blackFail · 3.21 : 1
Shades
Tints
Pairings

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.

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)

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.