#ECDEFB#ECDEFB

#ECDEFB is a very light, muted violet. Relative luminance 0.770; OKLCH L 92.0% C 0.042 H 307.2°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#ECDEFB
RGBrgb(236, 222, 251)
HSLhsl(269, 78%, 93%)
HSVhsv(269, 12%, 98%)
CMYKcmyk(6%, 11.6%, 0%, 1.6%)
CIE-LABlab(90.34, 10.00, -12.35)
CIE-LCHlch(90.34, 15.89, 309.00°)
OKLaboklab(92.05% 0.0252 -0.0331)
OKLCHoklch(92.05% 0.042 307.2)
XYZxyz(78.1229, 77.0407, 102.0028)
Luminance0.7704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDEFB #EDFBDE
analogous
#DEDEFB #ECDEFB #FBDEFB
triadic
#ECDEFB #FBECDE #DEFBEC
tetradic
#ECDEFB #FBDEDE #EDFBDE #DEFBFB
square
#ECDEFB #FBDEDE #EDFBDE #DEFBFB
split-complementary
#ECDEFB #FBFBDE #DEFBDE
monochromatic
#AD71EE #CDA7F4 #ECDEFB #EFE4FC #EFE4FC

Accessibility & contrast

On white

1.28
#ECDEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#ECDEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDEFB
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDEFB#FFFFFF#000000##000000
##ECDEFB1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAE3FC
Deuteranopia (green-blind)
#DCE3FA
Tritanopia (blue-blind)
#EAE1E7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ecdefb;
/* rgb */ color: rgb(236, 222, 251);
/* oklch */ color: oklch(92.0% 0.042 307.2);
Tailwind
colors: {
  custom: {
    50: '#f2e8fc',
    500: '#ecdefb',
    950: '#000000',
  },
}
SCSS
$custom: #ecdefb;
$custom-light: #f2e8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdefb",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 251
  },
  "hsl": {
    "h": 268.966,
    "s": 78.378,
    "l": 92.745
  },
  "oklch": {
    "l": 0.9205,
    "c": 0.04161,
    "h": 307.2
  },
  "luminance": 0.7704
}

Semantic roles & 50–950 ramp

primary
#ECDEFB
secondary
#C0E29B
accent
#DB0B76
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #ECDEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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