Color #ecdef1
A moderately saturated very light purple.
Conversions
#ecdef1
rgb(236, 222, 241)
hsl(284.2, 40.4%, 90.8%)
hsv(284.2, 7.9%, 94.5%)
cmyk(2.1%, 7.9%, 0%, 5.5%)
lab(90.06, 8.13, -7.53)
lch(90.06, 11.08, 317.19)
oklch(91.7%, 0.0295, 317.33)
hwb(284.2, 87.1%, 5.5%)
Harmony colors
Accessibility
Black text reads better on this background (16.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#e6e6ed · ΔE 8.1
Deuteranopia
#e7e8ec · ΔE 9.7
Tritanopia
#ebe9e8 · ΔE 10.8
Achromatopsia
#e2e2e2 · ΔE 10.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ecdef1;
bg-[#ecdef1]
Related colors
Frequently asked questions
#ecdef1 (#ecdef1) is rgb(236, 222, 241) in RGB.
No, #ecdef1 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 #ecdef1, or check how it holds up for accessibility.