#ECD8FF#ECD8FF

#ECD8FF is a very light, muted violet. Relative luminance 0.742; OKLCH L 91.0% C 0.057 H 308.3°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#ECD8FF
RGBrgb(236, 216, 255)
HSLhsl(271, 100%, 92%)
HSVhsv(271, 15%, 100%)
CMYKcmyk(7.5%, 15.3%, 0%, 0%)
CIE-LABlab(89.00, 13.91, -16.46)
CIE-LCHlch(89.00, 21.55, 310.21°)
OKLaboklab(91.05% 0.035 -0.0443)
OKLCHoklch(91.05% 0.057 308.3)
XYZxyz(77.1948, 74.1649, 104.8369)
Luminance0.7417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD8FF #EBFFD8
analogous
#D9D8FF #ECD8FF #FFD8FF
triadic
#ECD8FF #FFECD8 #D8FFEC
tetradic
#ECD8FF #FFD9D8 #EBFFD8 #D8FFFF
square
#ECD8FF #FFD9D8 #EBFFD8 #D8FFFF
split-complementary
#ECD8FF #FFFFD8 #D8FFD9
monochromatic
#B05EFF #CE9BFF #ECD8FF #F0E0FF #F0E0FF

Accessibility & contrast

On white

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

On black

15.83
#ECD8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD8FF
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD8FF#FFFFFF#000000##000000
##ECD8FF1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2DFFF
Deuteranopia (green-blind)
#D6E0FE
Tritanopia (blue-blind)
#EADDE5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ecd8ff;
/* rgb */ color: rgb(236, 216, 255);
/* oklch */ color: oklch(91.0% 0.057 308.3);
Tailwind
colors: {
  custom: {
    50: '#f2e4ff',
    500: '#ecd8ff',
    950: '#000000',
  },
}
SCSS
$custom: #ecd8ff;
$custom-light: #f2e4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd8ff",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 255
  },
  "hsl": {
    "h": 270.769,
    "s": 100,
    "l": 92.353
  },
  "oklch": {
    "l": 0.91046,
    "c": 0.05651,
    "h": 308.3
  },
  "luminance": 0.74165
}

Semantic roles & 50–950 ramp

primary
#ECD8FF
secondary
#BCEB90
accent
#E60070
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171518
muted
#858486

Preview Lab

Preview with #ECD8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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