Color #8171a7
A muted medium blue.
Conversions
#8171a7
rgb(129, 113, 167)
hsl(257.8, 23.5%, 54.9%)
hsv(257.8, 32.3%, 65.5%)
cmyk(22.8%, 32.3%, 0%, 34.5%)
lab(51, 17.89, -26.66)
lch(51, 32.11, 303.86)
oklch(58.5%, 0.083, 297.4)
hwb(257.8, 44.3%, 34.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a9c · ΔE 6.6
Deuteranopia
#7b7c99 · ΔE 8.3
Tritanopia
#809391 · ΔE 24.5
Achromatopsia
#797979 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8171a7;
bg-[#8171a7]
Related colors
Frequently asked questions
#8171a7 (#8171a7) is rgb(129, 113, 167) in RGB.
No, #8171a7 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 #8171a7, or check how it holds up for accessibility.