Color #5211bc
A vivid, highly saturated medium purple.
Conversions
#5211bc
rgb(82, 17, 188)
hsl(262.8, 83.4%, 40.2%)
hsv(262.8, 91%, 73.7%)
cmyk(56.4%, 91%, 0%, 26.3%)
lab(28.97, 62.16, -74.71)
lch(28.97, 97.19, 309.76)
oklch(41.7%, 0.2269, 288.63)
hwb(262.8, 6.7%, 26.3%)
Harmony colors
Accessibility
White text reads better on this background (9.7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3fa6 · ΔE 9.8
Deuteranopia
#4246a0 · ΔE 12.1
Tritanopia
#50928d · ΔE 42.5
Achromatopsia
#444444 · ΔE 30.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5211bc;
bg-[#5211bc]
Related colors
Frequently asked questions
#5211bc (#5211bc) is rgb(82, 17, 188) in RGB.
No, #5211bc is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #5211bc, or check how it holds up for accessibility.