Color #766c87
A nearly neutral, gray-leaning medium purple.
Conversions
#766c87
rgb(118, 108, 135)
hsl(262.2, 11.1%, 47.6%)
hsv(262.2, 20%, 52.9%)
cmyk(12.6%, 20%, 0%, 47.1%)
lab(47.4, 9.57, -13.42)
lch(47.4, 16.48, 305.49)
oklch(55%, 0.0429, 301.95)
hwb(262.2, 42.4%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (4.92:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#727281 · ΔE 6.9
Deuteranopia
#727380 · ΔE 8.1
Tritanopia
#767c7b · ΔE 16.6
Achromatopsia
#707070 · ΔE 13.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #766c87;
bg-[#766c87]
Related colors
Frequently asked questions
#766c87 (#766c87) is rgb(118, 108, 135) in RGB.
No, #766c87 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 #766c87, or check how it holds up for accessibility.