Color #9d97dc
A moderately saturated light blue.
Conversions
#9d97dc
rgb(157, 151, 220)
hsl(245.2, 49.6%, 72.7%)
hsv(245.2, 31.4%, 86.3%)
cmyk(28.6%, 31.4%, 0%, 13.7%)
lab(65.33, 17.4, -34.3)
lch(65.33, 38.46, 296.9)
oklch(70.8%, 0.0998, 287.55)
hwb(245.2, 59.2%, 13.7%)
Harmony colors
Accessibility
Black text reads better on this background (7.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#9a9ace · ΔE 3.4
Deuteranopia
#9b9bca · ΔE 4.5
Tritanopia
#9dc2bf · ΔE 26.3
Achromatopsia
#9f9f9f · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d97dc;
bg-[#9d97dc]
Related colors
Frequently asked questions
#9d97dc (#9d97dc) is rgb(157, 151, 220) in RGB.
No, #9d97dc 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 #9d97dc, or check how it holds up for accessibility.