Color #9f8ec0
A muted light purple.
Conversions
#9f8ec0
rgb(159, 142, 192)
hsl(260.4, 28.4%, 65.5%)
hsv(260.4, 26%, 75.3%)
cmyk(17.2%, 26%, 0%, 24.7%)
lab(62.1, 16.48, -23.64)
lch(62.1, 28.82, 304.88)
oklch(68%, 0.0748, 299.99)
hwb(260.4, 55.7%, 24.7%)
Harmony colors
Accessibility
Black text reads better on this background (7.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#9898b6 · ΔE 7.5
Deuteranopia
#999ab3 · ΔE 9.2
Tritanopia
#9eadab · ΔE 23.1
Achromatopsia
#969696 · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f8ec0;
bg-[#9f8ec0]
Related colors
Frequently asked questions
#9f8ec0 (#9f8ec0) is rgb(159, 142, 192) in RGB.
No, #9f8ec0 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 #9f8ec0, or check how it holds up for accessibility.