#ECD7F2#ECD7F2

#ECD7F2 is a very light, muted purple. Relative luminance 0.728; OKLCH L 90.4% C 0.043 H 318.7°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#ECD7F2
RGBrgb(236, 215, 242)
HSLhsl(287, 51%, 90%)
HSVhsv(287, 11%, 95%)
CMYKcmyk(2.5%, 11.2%, 0%, 5.1%)
CIE-LABlab(88.37, 11.98, -10.55)
CIE-LCHlch(88.37, 15.96, 318.63°)
OKLaboklab(90.43% 0.0321 -0.0282)
OKLCHoklch(90.43% 0.043 318.7)
XYZxyz(74.9171, 72.8452, 94.1010)
Luminance0.7285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD7F2 #DDF2D7
analogous
#DFD7F2 #ECD7F2 #F2D7EB
triadic
#ECD7F2 #F2ECD7 #D7F2EC
tetradic
#ECD7F2 #F2DFD7 #DDF2D7 #D7EBF2
square
#ECD7F2 #F2DFD7 #DDF2D7 #D7EBF2
split-complementary
#ECD7F2 #EBF2D7 #D7F2DF
monochromatic
#C07BD4 #D6A9E3 #ECD7F2 #F4E8F7 #F4E8F7

Accessibility & contrast

On white

1.35
#ECD7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#ECD7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD7F2
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD7F2#FFFFFF#000000##000000
##ECD7F21.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4DCF3
Deuteranopia (green-blind)
#D9DEF1
Tritanopia (blue-blind)
#ECDAE0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ecd7f2;
/* rgb */ color: rgb(236, 215, 242);
/* oklch */ color: oklch(90.4% 0.043 318.7);
Tailwind
colors: {
  custom: {
    50: '#f2e3f6',
    500: '#ecd7f2',
    950: '#000000',
  },
}
SCSS
$custom: #ecd7f2;
$custom-light: #f2e3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd7f2",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 242
  },
  "hsl": {
    "h": 286.667,
    "s": 50.943,
    "l": 89.608
  },
  "oklch": {
    "l": 0.90432,
    "c": 0.04268,
    "h": 318.7
  },
  "luminance": 0.72845
}

Semantic roles & 50–950 ramp

primary
#ECD7F2
secondary
#A8D09D
accent
#BE2749
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#161517
muted
#858485

Preview Lab

Preview with #ECD7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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