#ECDEF2#ECDEF2

#ECDEF2 is a very light, muted purple. Relative luminance 0.765; OKLCH L 91.8% C 0.031 H 315.9°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#ECDEF2
RGBrgb(236, 222, 242)
HSLhsl(282, 43%, 91%)
HSVhsv(282, 8%, 95%)
CMYKcmyk(2.5%, 8.3%, 0%, 5.1%)
CIE-LABlab(90.08, 8.32, -8.01)
CIE-LCHlch(90.08, 11.55, 316.08°)
OKLaboklab(91.77% 0.022 -0.0213)
OKLCHoklch(91.77% 0.031 315.9)
XYZxyz(76.7378, 76.4866, 94.7079)
Luminance0.7649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDEF2 #E4F2DE
analogous
#E2DEF2 #ECDEF2 #F2DEEE
triadic
#ECDEF2 #F2ECDE #DEF2EC
tetradic
#ECDEF2 #F2E2DE #E4F2DE #DEEEF2
square
#ECDEF2 #F2E2DE #E4F2DE #DEEEF2
split-complementary
#ECDEF2 #EEF2DE #DEF2E2
monochromatic
#B986CF #D3B2E1 #ECDEF2 #F2E9F6 #F2E9F6

Accessibility & contrast

On white

1.29
#ECDEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#ECDEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDEF2
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDEF2#FFFFFF#000000##000000
##ECDEF21.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCE2F3
Deuteranopia (green-blind)
#DFE3F1
Tritanopia (blue-blind)
#ECE0E4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ecdef2;
/* rgb */ color: rgb(236, 222, 242);
/* oklch */ color: oklch(91.8% 0.031 315.9);
Tailwind
colors: {
  custom: {
    50: '#f2e8f6',
    500: '#ecdef2',
    950: '#000000',
  },
}
SCSS
$custom: #ecdef2;
$custom-light: #f2e8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdef2",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 242
  },
  "hsl": {
    "h": 282,
    "s": 43.478,
    "l": 90.98
  },
  "oklch": {
    "l": 0.91766,
    "c": 0.03066,
    "h": 315.9
  },
  "luminance": 0.76486
}

Semantic roles & 50–950 ramp

primary
#ECDEF2
secondary
#B2CFA5
accent
#B72F58
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#161617
muted
#858485

Preview Lab

Preview with #ECDEF2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ECDEF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva