#ECDEF4#ECDEF4

#ECDEF4 is a very light, muted violet. Relative luminance 0.766; OKLCH L 91.8% C 0.033 H 313.5°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#ECDEF4
RGBrgb(236, 222, 244)
HSLhsl(278, 50%, 91%)
HSVhsv(278, 9%, 96%)
CMYKcmyk(3.3%, 9%, 0%, 4.3%)
CIE-LABlab(90.14, 8.69, -8.98)
CIE-LCHlch(90.14, 12.49, 314.06°)
OKLaboklab(91.83% 0.0227 -0.024)
OKLCHoklch(91.83% 0.033 313.5)
XYZxyz(77.0398, 76.6074, 96.2986)
Luminance0.7661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDEF4 #E6F4DE
analogous
#E1DEF4 #ECDEF4 #F4DEF1
triadic
#ECDEF4 #F4ECDE #DEF4EC
tetradic
#ECDEF4 #F4E1DE #E6F4DE #DEF1F4
square
#ECDEF4 #F4E1DE #E6F4DE #DEF1F4
split-complementary
#ECDEF4 #F1F4DE #DEF4E1
monochromatic
#B782D5 #D2B0E5 #ECDEF4 #F2E8F7 #F2E8F7

Accessibility & contrast

On white

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

On black

16.32
#ECDEF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDEF4
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDEF4#FFFFFF#000000##000000
##ECDEF41.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBE2F5
Deuteranopia (green-blind)
#DEE3F3
Tritanopia (blue-blind)
#ECE0E5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ecdef4;
/* rgb */ color: rgb(236, 222, 244);
/* oklch */ color: oklch(91.8% 0.033 313.5);
Tailwind
colors: {
  custom: {
    50: '#f2e8f7',
    500: '#ecdef4',
    950: '#000000',
  },
}
SCSS
$custom: #ecdef4;
$custom-light: #f2e8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdef4",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 244
  },
  "hsl": {
    "h": 278.182,
    "s": 50,
    "l": 91.373
  },
  "oklch": {
    "l": 0.91828,
    "c": 0.03303,
    "h": 313.5
  },
  "luminance": 0.76607
}

Semantic roles & 50–950 ramp

primary
#ECDEF4
secondary
#B5D3A3
accent
#BD285E
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#161617
muted
#858485

Preview Lab

Preview with #ECDEF4

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

Preview Lab → · Contrast checker → · Palette generator →

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