#ECD7FF#ECD7FF

#ECD7FF is a very light, muted violet. Relative luminance 0.737; OKLCH L 90.9% C 0.058 H 308.8°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#ECD7FF
RGBrgb(236, 215, 255)
HSLhsl(272, 100%, 92%)
HSVhsv(272, 16%, 100%)
CMYKcmyk(7.5%, 15.7%, 0%, 0%)
CIE-LABlab(88.76, 14.44, -16.82)
CIE-LCHlch(88.76, 22.17, 310.65°)
OKLaboklab(90.86% 0.0365 -0.0453)
OKLCHoklch(90.86% 0.058 308.8)
XYZxyz(76.9394, 73.6541, 104.7517)
Luminance0.7365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD7FF #EAFFD7
analogous
#D8D7FF #ECD7FF #FFD7FE
triadic
#ECD7FF #FFECD7 #D7FFEC
tetradic
#ECD7FF #FFD8D7 #EAFFD7 #D7FEFF
square
#ECD7FF #FFD8D7 #EAFFD7 #D7FEFF
split-complementary
#ECD7FF #FEFFD7 #D7FFD8
monochromatic
#B25DFF #CF9AFF #ECD7FF #F0E0FF #F0E0FF

Accessibility & contrast

On white

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

On black

15.73
#ECD7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD7FF
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD7FF#FFFFFF#000000##000000
##ECD7FF1.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd7ff;
/* rgb */ color: rgb(236, 215, 255);
/* oklch */ color: oklch(90.9% 0.058 308.8);
Tailwind
colors: {
  custom: {
    50: '#f2e3ff',
    500: '#ecd7ff',
    950: '#000000',
  },
}
SCSS
$custom: #ecd7ff;
$custom-light: #f2e3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd7ff",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 255
  },
  "hsl": {
    "h": 271.5,
    "s": 100,
    "l": 92.157
  },
  "oklch": {
    "l": 0.90859,
    "c": 0.05817,
    "h": 308.8
  },
  "luminance": 0.73654
}

Semantic roles & 50–950 ramp

primary
#ECD7FF
secondary
#BBEB8F
accent
#E6006D
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171518
muted
#858486

Preview Lab

Preview with #ECD7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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