Color #9c87ca
A muted light blue.
Conversions
#9c87ca
rgb(156, 135, 202)
hsl(258.8, 38.7%, 66.1%)
hsv(258.8, 33.2%, 79.2%)
cmyk(22.8%, 33.2%, 0%, 20.8%)
lab(60.48, 21.88, -31.79)
lch(60.48, 38.59, 304.54)
oklch(66.8%, 0.0997, 298.06)
hwb(258.8, 52.9%, 20.8%)
Harmony colors
Accessibility
Black text reads better on this background (6.73:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9393bd · ΔE 6.9
Deuteranopia
#9596b9 · ΔE 8.7
Tritanopia
#9bb1ae · ΔE 25.5
Achromatopsia
#929292 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9c87ca;
bg-[#9c87ca]
Related colors
Frequently asked questions
#9c87ca (#9c87ca) is rgb(156, 135, 202) in RGB.
No, #9c87ca 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 #9c87ca, or check how it holds up for accessibility.