Color #9a87ca
A muted light blue.
Conversions
#9a87ca
rgb(154, 135, 202)
hsl(257, 38.7%, 66.1%)
hsv(257, 33.2%, 79.2%)
cmyk(23.8%, 33.2%, 0%, 20.8%)
lab(60.3, 21.27, -32.08)
lch(60.3, 38.49, 303.55)
oklch(66.6%, 0.0995, 296.64)
hwb(257, 52.9%, 20.8%)
Harmony colors
Accessibility
Black text reads better on this background (6.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9292bd · ΔE 6.4
Deuteranopia
#9395b9 · ΔE 8.2
Tritanopia
#99b1ae · ΔE 25.7
Achromatopsia
#919191 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a87ca;
bg-[#9a87ca]
Related colors
Frequently asked questions
#9a87ca (#9a87ca) is rgb(154, 135, 202) in RGB.
No, #9a87ca 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 #9a87ca, or check how it holds up for accessibility.