#ECA2FD#ECA2FD

#ECA2FD is a light, vivid purple. Relative luminance 0.508; OKLCH L 81.5% C 0.146 H 320.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#ECA2FD
RGBrgb(236, 162, 253)
HSLhsl(289, 96%, 81%)
HSVhsv(289, 36%, 99%)
CMYKcmyk(6.7%, 36%, 0%, 0.8%)
CIE-LABlab(76.54, 42.19, -34.39)
CIE-LCHlch(76.54, 54.42, 320.82°)
OKLaboklab(81.47% 0.1121 -0.0942)
OKLCHoklch(81.47% 0.146 320)
XYZxyz(65.2398, 50.7673, 99.2719)
Luminance0.5077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECA2FD #B3FDA2
analogous
#BFA2FD #ECA2FD #FDA2E1
triadic
#ECA2FD #FDECA2 #A2FDEC
tetradic
#ECA2FD #FDBFA2 #B3FDA2 #A2E1FD
square
#ECA2FD #FDBFA2 #B3FDA2 #A2E1FD
split-complementary
#ECA2FD #E1FDA2 #A2FDBF
monochromatic
#D42AFA #E066FC #ECA2FD #F8DEFE #F9E1FE

Accessibility & contrast

On white

1.88
#ECA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#ECA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECA2FD
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECA2FD#FFFFFF#000000##000000
##ECA2FD1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#A9C0FA
Tritanopia (blue-blind)
#EDADC4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #eca2fd;
/* rgb */ color: rgb(236, 162, 253);
/* oklch */ color: oklch(81.5% 0.146 320.0);
Tailwind
colors: {
  custom: {
    50: '#f3befe',
    500: '#eca2fd',
    950: '#000000',
  },
}
SCSS
$custom: #eca2fd;
$custom-light: #f3befe;
$custom-dark: #000000;
JSON
{
  "hex": "#eca2fd",
  "rgb": {
    "r": 236,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 288.791,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.81467,
    "c": 0.14638,
    "h": 320
  },
  "luminance": 0.50765
}

Semantic roles & 50–950 ramp

primary
#ECA2FD
secondary
#7AE063
accent
#E6002B
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #ECA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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