Color #8a7aab
A muted medium blue.
Conversions
#8a7aab
rgb(138, 122, 171)
hsl(259.6, 22.6%, 57.5%)
hsv(259.6, 28.7%, 67.1%)
cmyk(19.3%, 28.7%, 0%, 32.9%)
lab(54.3, 16.42, -23.81)
lch(54.3, 28.92, 304.59)
oklch(61.2%, 0.075, 299.13)
hwb(259.6, 47.8%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.45:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8383a1 · ΔE 7.2
Deuteranopia
#84859e · ΔE 8.9
Tritanopia
#899896 · ΔE 23.3
Achromatopsia
#828282 · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a7aab;
bg-[#8a7aab]
Related colors
Frequently asked questions
#8a7aab (#8a7aab) is rgb(138, 122, 171) in RGB.
No, #8a7aab 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 #8a7aab, or check how it holds up for accessibility.