Color #c787b6
A muted light magenta.
Conversions
#c787b6
rgb(199, 135, 182)
hsl(315.9, 36.4%, 65.5%)
hsv(315.9, 32.2%, 78%)
cmyk(0%, 32.2%, 8.5%, 22%)
lab(64.04, 31.75, -14.69)
lch(64.04, 34.98, 335.17)
oklch(70.3%, 0.0995, 336.79)
hwb(315.9, 52.9%, 22%)
Harmony colors
Accessibility
Black text reads better on this background (7.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#afaeac · ΔE 24.2
Deuteranopia
#b2b7aa · ΔE 33.8
Tritanopia
#c4a4a2 · ΔE 17.1
Achromatopsia
#9b9b9b · ΔE 22.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c787b6;
bg-[#c787b6]
Related colors
Frequently asked questions
#c787b6 (#c787b6) is rgb(199, 135, 182) in RGB.
No, #c787b6 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 #c787b6, or check how it holds up for accessibility.