#ECC7FA#ECC7FA

#ECC7FA is a very light, moderate purple. Relative luminance 0.656; OKLCH L 87.7% C 0.079 H 316.7°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#ECC7FA
RGBrgb(236, 199, 250)
HSLhsl(284, 84%, 88%)
HSVhsv(284, 20%, 98%)
CMYKcmyk(5.6%, 20.4%, 0%, 2%)
CIE-LABlab(84.78, 21.95, -20.17)
CIE-LCHlch(84.78, 29.81, 317.42°)
OKLaboklab(87.73% 0.0578 -0.0545)
OKLCHoklch(87.73% 0.079 316.7)
XYZxyz(72.2682, 65.5828, 99.2756)
Luminance0.6558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC7FA #D5FAC7
analogous
#D2C7FA #ECC7FA #FAC7EF
triadic
#ECC7FA #FAECC7 #C7FAEC
tetradic
#ECC7FA #FAD2C7 #D5FAC7 #C7EFFA
square
#ECC7FA #FAD2C7 #D5FAC7 #C7EFFA
split-complementary
#ECC7FA #EFFAC7 #C7FAD2
monochromatic
#C657F0 #D98FF5 #ECC7FA #F5E3FC #F5E3FC

Accessibility & contrast

On white

1.49
#ECC7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#ECC7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC7FA
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC7FA#FFFFFF#000000##000000
##ECC7FA1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1D1FC
Deuteranopia (green-blind)
#C9D5F8
Tritanopia (blue-blind)
#ECCCD8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecc7fa;
/* rgb */ color: rgb(236, 199, 250);
/* oklch */ color: oklch(87.7% 0.079 316.7);
Tailwind
colors: {
  custom: {
    50: '#f2d8fc',
    500: '#ecc7fa',
    950: '#000000',
  },
}
SCSS
$custom: #ecc7fa;
$custom-light: #f2d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc7fa",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 250
  },
  "hsl": {
    "h": 283.529,
    "s": 83.607,
    "l": 88.039
  },
  "oklch": {
    "l": 0.8773,
    "c": 0.07941,
    "h": 316.7
  },
  "luminance": 0.65582
}

Semantic roles & 50–950 ramp

primary
#ECC7FA
secondary
#9EDF86
accent
#E00541
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171417
muted
#858385

Preview Lab

Preview with #ECC7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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