Color #9879cb
A moderately saturated light purple.
Conversions
#9879cb
rgb(152, 121, 203)
hsl(262.7, 44.1%, 63.5%)
hsv(262.7, 40.4%, 79.6%)
cmyk(25.1%, 40.4%, 0%, 20.4%)
lab(56.74, 29, -38.22)
lch(56.74, 47.98, 307.19)
oklch(63.9%, 0.1234, 300.37)
hwb(262.7, 47.5%, 20.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.93:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8bbb · ΔE 8.7
Deuteranopia
#8d90b7 · ΔE 10.9
Tritanopia
#97aeaa · ΔE 27.6
Achromatopsia
#888888 · ΔE 23.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9879cb;
bg-[#9879cb]
Related colors
Frequently asked questions
#9879cb (#9879cb) is rgb(152, 121, 203) in RGB.
No, #9879cb 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 #9879cb, or check how it holds up for accessibility.