Blueviolet — #8A2BE2
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Blueviolet values in every format
| CSS name | blueviolet |
|---|---|
| HEX | #8A2BE2 |
| RGB | rgb(138, 43, 226) |
| RGB % | 54%, 17%, 89% |
| HSL | hsl(271, 76%, 53%) |
| HSV / HSB | 271°, 81%, 89% |
| CMYK (print) | 39%, 81%, 0%, 11% |
| Relative luminance | 0.126 |
| Contrast on black | 3.52 : 1 |
| Contrast on white | 5.96 : 1 |
| Best text colour on it | White (5.96 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Blueviolet (50–950)
50 #F8F2FD100 #EEE0FB200 #D7B7F5300 #BA81EE400 #9743E5500 #791CCE600 #6117A6700 #4C1282800 #3A0E63900 #270943950 #180628
The scale keeps Blueviolet's hue (271°) and saturation (76%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Blueviolet
Complementary: #8A2BE2#83E22B
Analogous: #2E2BE2#8A2BE2#E22BDE
Triadic: #8A2BE2#E28A2B#2BE28A
Split-complementary: #8A2BE2#DFE22B#2BE22E
Square: #8A2BE2#E22E2B#83E22B#2BDFE2
Computed by rotating the hue wheel from 271°. Try them live in the Colour Harmony Generator.
Closest named colours
darkorchid (#9932CC) · darkviolet (#9400D3) · slateblue (#6A5ACD)
Using Blueviolet well
Blueviolet sits in the purple / violet family at 53% lightness — a mid-tone, vivid, cool colour. As a background it pairs best with white text (5.96:1 contrast). Its complement (#83E22B) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#2E2BE2, #E22BDE) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Blueviolet is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Blueviolet?
#8A2BE2 — the CSS named colour “blueviolet”. Its RGB is (138, 43, 226).
Is Blueviolet good for text or backgrounds?
As a background, white text reads best on it (5.96:1). As text itself on white it reaches 5.96:1 — enough for WCAG AA normal text.
What colours go with Blueviolet?
Its complement #83E22B for contrast, analogous #2E2BE2 and #E22BDE for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Blueviolet in CMYK for printing?
C39 M81 Y0 K11. CMYK conversions of screen colours are a starting point — always proof before a print run.