Blue Violet color — #8A2BE2
Blue Violet is a CSS named color with the HEX code #8A2BE2, RGB value rgb(138, 43, 226) and HSL value hsl(271, 76%, 53%).
Purple
Blue Violet
#8A2BE2
Color codes
- 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)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: blueviolet;
background-color: #8a2be2;
border-color: rgb(138, 43, 226);
outline-color: hsl(271, 76%, 53%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Blue Violet — On white5.95:1 · AA
Blue Violet — On black3.52:1 · AA Large