Color #c798ce
A muted light magenta.
Conversions
#c798ce
rgb(199, 152, 206)
hsl(292.2, 35.5%, 70.2%)
hsv(292.2, 26.2%, 80.8%)
cmyk(3.4%, 26.2%, 0%, 19.2%)
lab(68.79, 26.86, -20.9)
lch(68.79, 34.03, 322.11)
oklch(74.2%, 0.0921, 322.06)
hwb(292.2, 59.6%, 19.2%)
Harmony colors
Accessibility
Black text reads better on this background (8.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b5b4c3 · ΔE 16.7
Deuteranopia
#b7bbc0 · ΔE 19.9
Tritanopia
#c5b9b7 · ΔE 20.6
Achromatopsia
#a8a8a8 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c798ce;
bg-[#c798ce]
Related colors
Frequently asked questions
#c798ce (#c798ce) is rgb(199, 152, 206) in RGB.
No, #c798ce 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 #c798ce, or check how it holds up for accessibility.