Blue Violet Color
PurplesA vivid purple-blue sitting directly between blue and violet on the color wheel.
Conversions
#8a2be2
rgb(138, 43, 226)
hsl(271.1, 75.9%, 52.7%)
hsv(271.1, 81%, 88.6%)
cmyk(38.9%, 81%, 0%, 11.4%)
lab(42.19, 69.84, -74.76)
lch(42.19, 102.31, 313.05)
oklch(53.4%, 0.2503, 301.37)
hwb(271.1, 16.9%, 11.4%)
Harmony colors
Accessibility
White text reads better on this background (5.96:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6e6dc9 · ΔE 16.3
Deuteranopia
#7277c2 · ΔE 19.7
Tritanopia
#87b1ac · ΔE 40.5
Achromatopsia
#646464 · ΔE 31
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a2be2;
bg-[#8a2be2]
Related colors
Frequently asked questions
Blue Violet (#8a2be2) is rgb(138, 43, 226) in RGB.
No, #8a2be2 is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #8a2be2, or check how it holds up for accessibility.