Color #c798ca
A muted light magenta.
Conversions
#c798ca
rgb(199, 152, 202)
hsl(296.4, 32.1%, 69.4%)
hsv(296.4, 24.8%, 79.2%)
cmyk(1.5%, 24.8%, 0%, 20.8%)
lab(68.65, 26.08, -18.9)
lch(68.65, 32.21, 324.07)
oklch(74%, 0.0877, 324.46)
hwb(296.4, 59.6%, 20.8%)
Harmony colors
Accessibility
Black text reads better on this background (8.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b5b4bf · ΔE 17.6
Deuteranopia
#b7bbbd · ΔE 19.1
Tritanopia
#c5b7b4 · ΔE 20
Achromatopsia
#a7a7a7 · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c798ca;
bg-[#c798ca]
Related colors
Frequently asked questions
#c798ca (#c798ca) is rgb(199, 152, 202) in RGB.
No, #c798ca 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 #c798ca, or check how it holds up for accessibility.