Color #8172bb
A muted medium blue.
Conversions
#8172bb
rgb(129, 114, 187)
hsl(252.3, 34.9%, 59%)
hsv(252.3, 39%, 73.3%)
cmyk(31%, 39%, 0%, 26.7%)
lab(52.16, 22.39, -36.42)
lch(52.16, 42.75, 301.58)
oklch(59.6%, 0.1099, 292.18)
hwb(252.3, 44.7%, 26.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.06:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7bad · ΔE 5.3
Deuteranopia
#7c7da9 · ΔE 6.6
Tritanopia
#80a19e · ΔE 27.5
Achromatopsia
#7c7c7c · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8172bb;
bg-[#8172bb]
Related colors
Frequently asked questions
#8172bb (#8172bb) is rgb(129, 114, 187) in RGB.
No, #8172bb 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 #8172bb, or check how it holds up for accessibility.