#ECDEF7#ECDEF7

#ECDEF7 is a very light, muted violet. Relative luminance 0.768; OKLCH L 91.9% C 0.037 H 310.5°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#ECDEF7
RGBrgb(236, 222, 247)
HSLhsl(274, 61%, 92%)
HSVhsv(274, 10%, 97%)
CMYKcmyk(4.5%, 10.1%, 0%, 3.1%)
CIE-LABlab(90.23, 9.25, -10.42)
CIE-LCHlch(90.23, 13.93, 311.57°)
OKLaboklab(91.92% 0.0238 -0.0279)
OKLCHoklch(91.92% 0.037 310.5)
XYZxyz(77.4990, 76.7911, 98.7170)
Luminance0.7679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDEF7 #E9F7DE
analogous
#E0DEF7 #ECDEF7 #F7DEF6
triadic
#ECDEF7 #F7ECDE #DEF7EC
tetradic
#ECDEF7 #F7E0DE #E9F7DE #DEF6F7
square
#ECDEF7 #F7E0DE #E9F7DE #DEF6F7
split-complementary
#ECDEF7 #F6F7DE #DEF7E0
monochromatic
#B37BDF #D0ADEB #ECDEF7 #F1E6F9 #F1E6F9

Accessibility & contrast

On white

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

On black

16.36
#ECDEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDEF7
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDEF7#FFFFFF#000000##000000
##ECDEF71.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBE2F8
Deuteranopia (green-blind)
#DDE3F6
Tritanopia (blue-blind)
#EBE1E6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ecdef7;
/* rgb */ color: rgb(236, 222, 247);
/* oklch */ color: oklch(91.9% 0.037 310.5);
Tailwind
colors: {
  custom: {
    50: '#f2e8f9',
    500: '#ecdef7',
    950: '#000000',
  },
}
SCSS
$custom: #ecdef7;
$custom-light: #f2e8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdef7",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 247
  },
  "hsl": {
    "h": 273.6,
    "s": 60.976,
    "l": 91.961
  },
  "oklch": {
    "l": 0.91922,
    "c": 0.03665,
    "h": 310.5
  },
  "luminance": 0.76791
}

Semantic roles & 50–950 ramp

primary
#ECDEF7
secondary
#B9D9A0
accent
#C91D68
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #ECDEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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