#ECD8FD#ECD8FD

#ECD8FD is a very light, muted violet. Relative luminance 0.740; OKLCH L 91.0% C 0.054 H 309.5°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#ECD8FD
RGBrgb(236, 216, 253)
HSLhsl(272, 90%, 92%)
HSVhsv(272, 15%, 99%)
CMYKcmyk(6.7%, 14.6%, 0%, 0.8%)
CIE-LABlab(88.94, 13.53, -15.50)
CIE-LCHlch(88.94, 20.57, 311.12°)
OKLaboklab(90.98% 0.0344 -0.0417)
OKLCHoklch(90.98% 0.054 309.5)
XYZxyz(76.8745, 74.0368, 103.1501)
Luminance0.7404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD8FD #E9FDD8
analogous
#DAD8FD #ECD8FD #FDD8FC
triadic
#ECD8FD #FDECD8 #D8FDEC
tetradic
#ECD8FD #FDDAD8 #E9FDD8 #D8FCFD
square
#ECD8FD #FDDAD8 #E9FDD8 #D8FCFD
split-complementary
#ECD8FD #FCFDD8 #D8FDDA
monochromatic
#B364F7 #D09EFA #ECD8FD #F1E2FE #F1E2FE

Accessibility & contrast

On white

1.33
#ECD8FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#ECD8FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD8FD
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD8FD#FFFFFF#000000##000000
##ECD8FD1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3DEFF
Deuteranopia (green-blind)
#D6E0FC
Tritanopia (blue-blind)
#EADCE4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ecd8fd;
/* rgb */ color: rgb(236, 216, 253);
/* oklch */ color: oklch(91.0% 0.054 309.5);
Tailwind
colors: {
  custom: {
    50: '#f2e4fe',
    500: '#ecd8fd',
    950: '#000000',
  },
}
SCSS
$custom: #ecd8fd;
$custom-light: #f2e4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd8fd",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 253
  },
  "hsl": {
    "h": 272.432,
    "s": 90.244,
    "l": 91.961
  },
  "oklch": {
    "l": 0.90979,
    "c": 0.05404,
    "h": 309.5
  },
  "luminance": 0.74036
}

Semantic roles & 50–950 ramp

primary
#ECD8FD
secondary
#B9E793
accent
#E60069
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171517
muted
#858485

Preview Lab

Preview with #ECD8FD

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

Preview Lab → · Contrast checker → · Palette generator →

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