#ECA7FD#ECA7FD

#ECA7FD is a very light, vivid purple. Relative luminance 0.526; OKLCH L 82.3% C 0.138 H 319.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#ECA7FD
RGBrgb(236, 167, 253)
HSLhsl(288, 96%, 82%)
HSVhsv(288, 34%, 99%)
CMYKcmyk(6.7%, 34%, 0%, 0.8%)
CIE-LABlab(77.62, 39.55, -32.72)
CIE-LCHlch(77.62, 51.33, 320.40°)
OKLaboklab(82.28% 0.1049 -0.0895)
OKLCHoklch(82.28% 0.138 319.5)
XYZxyz(66.1381, 52.5640, 99.5713)
Luminance0.5256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECA7FD #B8FDA7
analogous
#C1A7FD #ECA7FD #FDA7E3
triadic
#ECA7FD #FDECA7 #A7FDEC
tetradic
#ECA7FD #FDC1A7 #B8FDA7 #A7E3FD
square
#ECA7FD #FDC1A7 #B8FDA7 #A7E3FD
split-complementary
#ECA7FD #E3FDA7 #A7FDC1
monochromatic
#D22FFA #DF6BFC #ECA7FD #F9E1FE #F9E1FE

Accessibility & contrast

On white

1.82
#ECA7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#ECA7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECA7FD
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECA7FD#FFFFFF#000000##000000
##ECA7FD1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#ADC2FA
Tritanopia (blue-blind)
#EDB1C7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #eca7fd;
/* rgb */ color: rgb(236, 167, 253);
/* oklch */ color: oklch(82.3% 0.138 319.5);
Tailwind
colors: {
  custom: {
    50: '#f3c2fe',
    500: '#eca7fd',
    950: '#000000',
  },
}
SCSS
$custom: #eca7fd;
$custom-light: #f3c2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#eca7fd",
  "rgb": {
    "r": 236,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 288.14,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.82283,
    "c": 0.13787,
    "h": 319.5
  },
  "luminance": 0.52562
}

Semantic roles & 50–950 ramp

primary
#ECA7FD
secondary
#7FE167
accent
#E6002D
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #ECA7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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