#ECABF7#ECABF7

#ECABF7 is a very light, vivid purple. Relative luminance 0.537; OKLCH L 82.7% C 0.125 H 321.6°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#ECABF7
RGBrgb(236, 171, 247)
HSLhsl(291, 83%, 82%)
HSVhsv(291, 31%, 97%)
CMYKcmyk(4.5%, 30.8%, 0%, 3.1%)
CIE-LABlab(78.27, 36.29, -28.48)
CIE-LCHlch(78.27, 46.13, 321.87°)
OKLaboklab(82.71% 0.0976 -0.0775)
OKLCHoklch(82.71% 0.125 321.6)
XYZxyz(65.9414, 53.6759, 94.8645)
Luminance0.5367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECABF7 #B6F7AB
analogous
#C6ABF7 #ECABF7 #F7ABDC
triadic
#ECABF7 #F7ECAB #ABF7EC
tetradic
#ECABF7 #F7C6AB #B6F7AB #ABDCF7
square
#ECABF7 #F7C6AB #B6F7AB #ABDCF7
split-complementary
#ECABF7 #DCF7AB #ABF7C6
monochromatic
#D33BEC #DF73F2 #ECABF7 #F9E3FC #F9E3FC

Accessibility & contrast

On white

1.79
#ECABF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#ECABF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECABF7
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECABF7#FFFFFF#000000##000000
##ECABF71.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BDFA
Deuteranopia (green-blind)
#B2C4F4
Tritanopia (blue-blind)
#EEB3C7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ecabf7;
/* rgb */ color: rgb(236, 171, 247);
/* oklch */ color: oklch(82.7% 0.125 321.6);
Tailwind
colors: {
  custom: {
    50: '#f3c4fa',
    500: '#ecabf7',
    950: '#000000',
  },
}
SCSS
$custom: #ecabf7;
$custom-light: #f3c4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecabf7",
  "rgb": {
    "r": 236,
    "g": 171,
    "b": 247
  },
  "hsl": {
    "h": 291.316,
    "s": 82.609,
    "l": 81.961
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.12465,
    "h": 321.6
  },
  "luminance": 0.53674
}

Semantic roles & 50–950 ramp

primary
#ECABF7
secondary
#7DD86E
accent
#DF0626
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #ECABF7

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

Preview Lab → · Contrast checker → · Palette generator →

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