Color #9f7fa2
A muted medium magenta.
Conversions
#9f7fa2
rgb(159, 127, 162)
hsl(294.9, 15.8%, 56.7%)
hsv(294.9, 21.6%, 63.5%)
cmyk(1.9%, 21.6%, 0%, 36.5%)
lab(57.23, 18.66, -13.98)
lch(57.23, 23.32, 323.16)
oklch(63.8%, 0.0632, 323.49)
hwb(294.9, 49.8%, 36.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.03:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#92929a · ΔE 15.6
Deuteranopia
#949699 · ΔE 18.1
Tritanopia
#9e9493 · ΔE 16.3
Achromatopsia
#898989 · ΔE 18.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f7fa2;
bg-[#9f7fa2]
Related colors
Frequently asked questions
#9f7fa2 (#9f7fa2) is rgb(159, 127, 162) in RGB.
No, #9f7fa2 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 #9f7fa2, or check how it holds up for accessibility.