Color #dc97d9
A moderately saturated light magenta.
Conversions
#dc97d9
rgb(220, 151, 217)
hsl(302.6, 49.6%, 72.7%)
hsv(302.6, 31.4%, 86.3%)
cmyk(0%, 31.4%, 1.4%, 13.7%)
lab(71.12, 36.3, -23.24)
lch(71.12, 43.1, 327.37)
oklch(76.5%, 0.119, 328.15)
hwb(302.6, 59.2%, 13.7%)
Harmony colors
Accessibility
Black text reads better on this background (9.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#c2c1cc · ΔE 20.5
Deuteranopia
#c6cac8 · ΔE 23.6
Tritanopia
#d9c0bd · ΔE 21.7
Achromatopsia
#aeaeae · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #dc97d9;
bg-[#dc97d9]
Related colors
Frequently asked questions
#dc97d9 (#dc97d9) is rgb(220, 151, 217) in RGB.
No, #dc97d9 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 #dc97d9, or check how it holds up for accessibility.