Color #8a81a6
A muted medium blue.
Conversions
#8a81a6
rgb(138, 129, 166)
hsl(254.6, 17.2%, 57.8%)
hsv(254.6, 22.3%, 65.1%)
cmyk(16.9%, 22.3%, 0%, 34.9%)
lab(55.94, 11.16, -18.41)
lch(55.94, 21.53, 301.22)
oklch(62.5%, 0.0559, 295.88)
hwb(254.6, 50.6%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.77:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#86869e · ΔE 5.7
Deuteranopia
#87879c · ΔE 6.7
Tritanopia
#8a9796 · ΔE 20.2
Achromatopsia
#868686 · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a81a6;
bg-[#8a81a6]
Related colors
Frequently asked questions
#8a81a6 (#8a81a6) is rgb(138, 129, 166) in RGB.
No, #8a81a6 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 #8a81a6, or check how it holds up for accessibility.