Color #986ba1
A muted medium magenta.
Conversions
#986ba1
rgb(152, 107, 161)
hsl(290, 22.3%, 52.5%)
hsv(290, 33.5%, 63.1%)
cmyk(5.6%, 33.5%, 0%, 36.9%)
lab(51.57, 27.56, -22.09)
lch(51.57, 35.32, 321.29)
oklch(59.4%, 0.0952, 320.71)
hwb(290, 42%, 36.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#878696 · ΔE 16.5
Deuteranopia
#898c93 · ΔE 20.3
Tritanopia
#968d8b · ΔE 22
Achromatopsia
#7b7b7b · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #986ba1;
bg-[#986ba1]
Related colors
Frequently asked questions
#986ba1 (#986ba1) is rgb(152, 107, 161) in RGB.
No, #986ba1 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #986ba1, or check how it holds up for accessibility.