Color #8172af
A muted medium blue.
Conversions
#8172af
rgb(129, 114, 175)
hsl(254.8, 27.6%, 56.7%)
hsv(254.8, 34.9%, 68.6%)
cmyk(26.3%, 34.9%, 0%, 31.4%)
lab(51.61, 19.29, -30.36)
lch(51.61, 35.97, 302.43)
oklch(59%, 0.0928, 294.71)
hwb(254.8, 44.7%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (4.96:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7ba3 · ΔE 5.8
Deuteranopia
#7c7da0 · ΔE 7.3
Tritanopia
#809896 · ΔE 25.3
Achromatopsia
#7b7b7b · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8172af;
bg-[#8172af]
Related colors
Frequently asked questions
#8172af (#8172af) is rgb(129, 114, 175) in RGB.
No, #8172af 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 #8172af, or check how it holds up for accessibility.