#ECDEF6#ECDEF6

#ECDEF6 is a very light, muted violet. Relative luminance 0.767; OKLCH L 91.9% C 0.035 H 311.4°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#ECDEF6
RGBrgb(236, 222, 246)
HSLhsl(275, 57%, 92%)
HSVhsv(275, 10%, 96%)
CMYKcmyk(4.1%, 9.8%, 0%, 3.5%)
CIE-LABlab(90.20, 9.06, -9.94)
CIE-LCHlch(90.20, 13.45, 312.34°)
OKLaboklab(91.89% 0.0234 -0.0266)
OKLCHoklch(91.89% 0.035 311.4)
XYZxyz(77.3451, 76.7296, 97.9065)
Luminance0.7673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDEF6 #E8F6DE
analogous
#E0DEF6 #ECDEF6 #F6DEF4
triadic
#ECDEF6 #F6ECDE #DEF6EC
tetradic
#ECDEF6 #F6E0DE #E8F6DE #DEF4F6
square
#ECDEF6 #F6E0DE #E8F6DE #DEF4F6
split-complementary
#ECDEF6 #F4F6DE #DEF6E0
monochromatic
#B57EDC #D0AEE9 #ECDEF6 #F1E7F8 #F1E7F8

Accessibility & contrast

On white

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

On black

16.35
#ECDEF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDEF6
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDEF6#FFFFFF#000000##000000
##ECDEF61.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecdef6;
/* rgb */ color: rgb(236, 222, 246);
/* oklch */ color: oklch(91.9% 0.035 311.4);
Tailwind
colors: {
  custom: {
    50: '#f2e8f9',
    500: '#ecdef6',
    950: '#000000',
  },
}
SCSS
$custom: #ecdef6;
$custom-light: #f2e8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdef6",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 246
  },
  "hsl": {
    "h": 275,
    "s": 57.143,
    "l": 91.765
  },
  "oklch": {
    "l": 0.91891,
    "c": 0.03543,
    "h": 311.4
  },
  "luminance": 0.76729
}

Semantic roles & 50–950 ramp

primary
#ECDEF6
secondary
#B8D7A1
accent
#C52165
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #ECDEF6

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

Preview Lab → · Contrast checker → · Palette generator →

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