Blue Violet Color
Blue Violet is a vivid, medium purple with hex code #8A2BE2. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Blue Violet color codes
| HEX | #8A2BE2 | |
|---|---|---|
| RGB | rgb(138, 43, 226) | |
| HSL | hsl(271, 76%, 53%) | |
| HSV | 271°, 81%, 89% | |
| CMYK | 39%, 81%, 0%, 11% | |
| OKLCH | oklch(53.4% 0.25 301.4) | |
| Tailwind | bg-[#8a2be2] |
Closest Tailwind colour: purple-600 (#9333EA). Convert any colour in the Color Converter.
About Blue Violet
Blue Violet (#8A2BE2) is a vivid, medium purple. In the RGB model it is 54% red, 17% green and 89% blue; its hue angle is 271°, with 76% saturation and 53% lightness. For print, the CMYK equivalent is 39% cyan, 81% magenta, 0% yellow and 11% black.
It is a cool colour and appears in our shades of purple. Text on it reads best in white (6.0:1 contrast).
Blue Violet tints and shades
Tints mix blue violet with white; shades mix it with black. Click to copy.
Colors that go with Blue Violet
Complementary
Analogous
Triadic
Split complementary
Blue Violet contrast
- AA text pass
- AAA text fail
- AA large pass
- AA text fail
- AAA text fail
- AA large pass
Using Blue Violet in CSS
.brand {
color: #8a2be2;
}
.button {
background: #8a2be2;
color: #fff;
}
.hero {
background: linear-gradient(135deg, #b375ec, #8a2be2, #5a1c93);
}Similar colors
Gradients with Blue Violet
Blue Violet FAQ
What color is Blue Violet?
Blue Violet is a vivid, medium purple. Its hex code is #8A2BE2 and it is a cool colour.
What is the hex code for Blue Violet?
The hex code for Blue Violet is #8A2BE2. In RGB that is rgb(138, 43, 226), and in HSL hsl(271, 76%, 53%).
What is Blue Violet in CMYK?
Blue Violet is roughly C 39%, M 81%, Y 0%, K 11% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Blue Violet?
Its complementary colour is #84E22C. For a calmer palette use its analogous colours #2F2CE2 and #E22CDF, or tints and shades of Blue Violet itself.
Is white or black text better on Blue Violet?
White text reads better on Blue Violet: 6.0:1 contrast, against 3.5:1 for black. WCAG asks for 4.5:1 for body text.
