Blue Violet
#8A2BE2About 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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 5.96:1 | Pass | Pass | Fail |
| Ink black #0F0F12 | 3.21:1 | Fail | Pass | Fail |
| Mid grey #6B7280 | 1.23:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.73:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 4.81:1 | Pass | Pass | Fail |
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
| Format | Value |
|---|---|
| HEX | #8A2BE2 |
| RGB | rgb(138, 43, 226) |
| HSL | hsl(271, 76%, 53%) |
| HSV | hsv(271, 81%, 89%) |
| CMYK | cmyk(39%, 81%, 0%, 11%) |
| OKLCH | oklch(53.38% 0.2503 301.37) |
| CIELAB | lab(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.