Color #8f87a6
A nearly neutral, gray-leaning medium blue.
Conversions
#8f87a6
rgb(143, 135, 166)
hsl(255.5, 14.8%, 59%)
hsv(255.5, 18.7%, 65.1%)
cmyk(13.9%, 18.7%, 0%, 34.9%)
lab(57.96, 9.37, -15.31)
lch(57.96, 17.95, 301.47)
oklch(64.1%, 0.0466, 296.89)
hwb(255.5, 52.9%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.18:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8c9f · ΔE 5.8
Deuteranopia
#8c8d9e · ΔE 6.8
Tritanopia
#8f9a98 · ΔE 18.5
Achromatopsia
#8b8b8b · ΔE 14.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8f87a6;
bg-[#8f87a6]
Related colors
Frequently asked questions
#8f87a6 (#8f87a6) is rgb(143, 135, 166) in RGB.
No, #8f87a6 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 #8f87a6, or check how it holds up for accessibility.