Color #9862a4
A muted medium purple.
Conversions
#9862a4
rgb(152, 98, 164)
hsl(289.1, 26.6%, 51.4%)
hsv(289.1, 40.2%, 64.3%)
cmyk(7.3%, 40.2%, 0%, 35.7%)
lab(49.61, 33.31, -26.88)
lch(49.61, 42.8, 321.1)
oklch(57.9%, 0.1152, 320.14)
hwb(289.1, 38.4%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (4.62:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#848497 · ΔE 17.6
Deuteranopia
#878b94 · ΔE 20.9
Tritanopia
#968c8a · ΔE 24.2
Achromatopsia
#767676 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9862a4;
bg-[#9862a4]
Related colors
Frequently asked questions
#9862a4 (#9862a4) is rgb(152, 98, 164) in RGB.
No, #9862a4 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 #9862a4, or check how it holds up for accessibility.