Color #8a7ab2
A muted medium blue.
Conversions
#8a7ab2
rgb(138, 122, 178)
hsl(257.1, 26.7%, 58.8%)
hsv(257.1, 31.5%, 69.8%)
cmyk(22.5%, 31.5%, 0%, 30.2%)
lab(54.59, 18.1, -27.4)
lch(54.59, 32.84, 303.45)
oklch(61.6%, 0.0849, 296.96)
hwb(257.1, 47.8%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8383a7 · ΔE 6.3
Deuteranopia
#8485a4 · ΔE 7.9
Tritanopia
#899d9b · ΔE 24.5
Achromatopsia
#838383 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a7ab2;
bg-[#8a7ab2]
Related colors
Frequently asked questions
#8a7ab2 (#8a7ab2) is rgb(138, 122, 178) in RGB.
No, #8a7ab2 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 #8a7ab2, or check how it holds up for accessibility.