blueviolet blueviolet #8a2be2
blueviolet is #8a2be2 in hexadecimal, rgb(138, 43, 226) in decimal and hsl(271, 76, 53) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.
HEX · RGB · HSL
| HEX | #8a2be2 |
| RGB | rgb(138, 43, 226) |
| HSL | hsl(271, 76%, 53%) |
Harmonies
Complementary
#84e22cAnalogous
#2f2ce2#e22cdfTriadic
#e28a2c#2ce28aSplit complementary
#dfe22c#2ce22fTints & shades
#761cca#801edc#8a2ce2#943ee5#9e50e7Accessibility
| vs #ffffff | 5.96:1 |
| vs #000000 | 3.52:1 |
| Suggested text color | #ffffff · 5.96:1 · WCAG AA |
Similar named colors
FAQ
What is the HEX code for blueviolet?
blueviolet is #8a2be2 in hex, rgb(138, 43, 226) in decimal and hsl(271, 76%, 53%) in HSL. In CSS you can write either color: blueviolet; or color: #8a2be2; — they are equivalent.
What colors go with blueviolet?
The complementary #84e22c gives the strongest contrast, the analogous pair #2f2ce2 / #e22cdf is the safest, and the triad #e28a2c / #2ce28a adds more tension. All three are derived from the 271° hue of #8a2be2.
Does #8a2be2 read better on white or black?
Its contrast is 5.96:1 against white and 3.52:1 against black. Use #ffffff text on it — that gives 5.96:1, which meets WCAG AA.
Is a named color different from a hex color?
No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.