Blue Violet Color
HEX #8A2BE2 · rgb(138, 43, 226) · hsl(271, 76%, 53%)
Blue Violet color codes
Blue Violet is one of the named colors every browser understands. In CSS you can write it as blueviolet or #8A2BE2.
| Format | Value | |
|---|---|---|
| HEX | #8A2BE2 | |
| RGB | rgb(138, 43, 226) | |
| HSL | hsl(271, 76%, 53%) | |
| CMYK | 39%, 81%, 0%, 11% | |
| CSS name | blueviolet |
.example {
color: blueviolet;
background-color: #8A2BE2;
border-color: rgb(138, 43, 226);
}
Colors that go with blue violet
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of blue violet
Tints mix the color with white; shades mix it with black.
Blue Violet
Contrast and readability
3.52:1
large text only
5.96:1
passes AA
Use white text on blue violet. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for blue violet?
The hex code for blue violet is #8A2BE2.
What is the RGB value of blue violet?
Blue Violet is rgb(138, 43, 226): 138 red, 43 green and 226 blue on a 0 to 255 scale.
What color goes with blue violet?
Its complementary color is #83E22B, which is closest to the named color yellow green. Analogous and triadic matches are listed on this page.
Should text on blue violet be black or white?
Use white text. The contrast ratio is 3.52:1 with black and 5.96:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.