#ECC7FD#ECC7FD

#ECC7FD is a very light, moderate purple. Relative luminance 0.658; OKLCH L 87.8% C 0.083 H 315.1°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#ECC7FD
RGBrgb(236, 199, 253)
HSLhsl(281, 93%, 89%)
HSVhsv(281, 21%, 99%)
CMYKcmyk(6.7%, 21.3%, 0%, 0.8%)
CIE-LABlab(84.88, 22.53, -21.62)
CIE-LCHlch(84.88, 31.22, 316.18°)
OKLaboklab(87.84% 0.0587 -0.0585)
OKLCHoklch(87.84% 0.083 315.1)
XYZxyz(72.7423, 65.7725, 101.7727)
Luminance0.6577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC7FD #D8FDC7
analogous
#D1C7FD #ECC7FD #FDC7F3
triadic
#ECC7FD #FDECC7 #C7FDEC
tetradic
#ECC7FD #FDD1C7 #D8FDC7 #C7F3FD
square
#ECC7FD #FDD1C7 #D8FDC7 #C7F3FD
split-complementary
#ECC7FD #F3FDC7 #C7FDD1
monochromatic
#C451F9 #D88CFB #ECC7FD #F5E1FE #F5E1FE

Accessibility & contrast

On white

1.48
#ECC7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#ECC7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC7FD
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC7FD#FFFFFF#000000##000000
##ECC7FD1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0D2FF
Deuteranopia (green-blind)
#C8D5FB
Tritanopia (blue-blind)
#EBCDD9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecc7fd;
/* rgb */ color: rgb(236, 199, 253);
/* oklch */ color: oklch(87.8% 0.083 315.1);
Tailwind
colors: {
  custom: {
    50: '#f2d8fe',
    500: '#ecc7fd',
    950: '#000000',
  },
}
SCSS
$custom: #ecc7fd;
$custom-light: #f2d8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc7fd",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 253
  },
  "hsl": {
    "h": 281.111,
    "s": 93.103,
    "l": 88.627
  },
  "oklch": {
    "l": 0.87837,
    "c": 0.08288,
    "h": 315.1
  },
  "luminance": 0.65772
}

Semantic roles & 50–950 ramp

primary
#ECC7FD
secondary
#A2E583
accent
#E60048
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECC7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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