#ECDCFB#ECDCFB

#ECDCFB is a very light, muted violet. Relative luminance 0.760; OKLCH L 91.7% C 0.045 H 308.6°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#ECDCFB
RGBrgb(236, 220, 251)
HSLhsl(271, 79%, 92%)
HSVhsv(271, 12%, 98%)
CMYKcmyk(6%, 12.4%, 0%, 1.6%)
CIE-LABlab(89.85, 11.05, -13.08)
CIE-LCHlch(89.85, 17.12, 310.18°)
OKLaboklab(91.67% 0.028 -0.0351)
OKLCHoklch(91.67% 0.045 308.6)
XYZxyz(77.5948, 75.9846, 101.8267)
Luminance0.7598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDCFB #EBFBDC
analogous
#DDDCFB #ECDCFB #FBDCFA
triadic
#ECDCFB #FBECDC #DCFBEC
tetradic
#ECDCFB #FBDDDC #EBFBDC #DCFAFB
square
#ECDCFB #FBDDDC #EBFBDC #DCFAFB
split-complementary
#ECDCFB #FAFBDC #DCFBDD
monochromatic
#B06EEE #CEA5F5 #ECDCFB #F0E4FC #F0E4FC

Accessibility & contrast

On white

1.30
#ECDCFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#ECDCFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDCFB
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDCFB#FFFFFF#000000##000000
##ECDCFB1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8E1FC
Deuteranopia (green-blind)
#DAE2FA
Tritanopia (blue-blind)
#EAE0E6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ecdcfb;
/* rgb */ color: rgb(236, 220, 251);
/* oklch */ color: oklch(91.7% 0.045 308.6);
Tailwind
colors: {
  custom: {
    50: '#f2e6fc',
    500: '#ecdcfb',
    950: '#000000',
  },
}
SCSS
$custom: #ecdcfb;
$custom-light: #f2e6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdcfb",
  "rgb": {
    "r": 236,
    "g": 220,
    "b": 251
  },
  "hsl": {
    "h": 270.968,
    "s": 79.487,
    "l": 92.353
  },
  "oklch": {
    "l": 0.91669,
    "c": 0.04491,
    "h": 308.6
  },
  "luminance": 0.75984
}

Semantic roles & 50–950 ramp

primary
#ECDCFB
secondary
#BCE299
accent
#DC0A6F
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #ECDCFB

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

Preview Lab → · Contrast checker → · Palette generator →

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