Color #8a87a2
A nearly neutral, gray-leaning medium blue.
Conversions
#8a87a2
rgb(138, 135, 162)
hsl(246.7, 12.7%, 58.2%)
hsv(246.7, 16.7%, 63.5%)
cmyk(14.8%, 16.7%, 0%, 36.5%)
lab(57.4, 6.78, -13.9)
lch(57.4, 15.47, 296)
oklch(63.5%, 0.0402, 290.37)
hwb(246.7, 52.9%, 36.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.07:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#89899c · ΔE 3.5
Deuteranopia
#89899b · ΔE 3.9
Tritanopia
#8a9796 · ΔE 16.6
Achromatopsia
#8a8a8a · ΔE 12.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a87a2;
bg-[#8a87a2]
Related colors
Frequently asked questions
#8a87a2 (#8a87a2) is rgb(138, 135, 162) in RGB.
No, #8a87a2 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 #8a87a2, or check how it holds up for accessibility.