Color #9862aa
A muted medium purple.
Conversions
#9862aa
rgb(152, 98, 170)
hsl(285, 29.8%, 52.5%)
hsv(285, 42.4%, 66.7%)
cmyk(10.6%, 42.4%, 0%, 33.3%)
lab(49.87, 34.58, -29.98)
lch(49.87, 45.77, 319.08)
oklch(58.2%, 0.122, 317.33)
hwb(285, 38.4%, 33.3%)
Harmony colors
Accessibility
Black text reads better on this background (4.66:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#84849c · ΔE 16.6
Deuteranopia
#878b99 · ΔE 19.9
Tritanopia
#96908e · ΔE 25.7
Achromatopsia
#777777 · ΔE 23.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9862aa;
bg-[#9862aa]
Related colors
Frequently asked questions
#9862aa (#9862aa) is rgb(152, 98, 170) in RGB.
No, #9862aa 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 #9862aa, or check how it holds up for accessibility.