Color #cd98d6
A moderately saturated light magenta.
Conversions
#cd98d6
rgb(205, 152, 214)
hsl(291.3, 43.1%, 71.8%)
hsv(291.3, 29%, 83.9%)
cmyk(4.2%, 29%, 0%, 16.1%)
lab(69.68, 30.37, -23.92)
lch(69.68, 38.66, 321.78)
oklch(75.1%, 0.1044, 321.49)
hwb(291.3, 59.6%, 16.1%)
Harmony colors
Accessibility
Black text reads better on this background (9.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b8b8c9 · ΔE 17.3
Deuteranopia
#bbbfc6 · ΔE 20.3
Tritanopia
#cbbebc · ΔE 21.9
Achromatopsia
#aaaaaa · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cd98d6;
bg-[#cd98d6]
Related colors
Frequently asked questions
#cd98d6 (#cd98d6) is rgb(205, 152, 214) in RGB.
No, #cd98d6 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 #cd98d6, or check how it holds up for accessibility.