#ECA2EC#ECA2EC

#ECA2EC is a light, vivid purple. Relative luminance 0.497; OKLCH L 80.8% C 0.129 H 326.7°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#ECA2EC
RGBrgb(236, 162, 236)
HSLhsl(300, 66%, 78%)
HSVhsv(300, 31%, 93%)
CMYKcmyk(0%, 31.4%, 0%, 7.5%)
CIE-LABlab(75.90, 39.01, -26.16)
CIE-LCHlch(75.90, 46.97, 326.15°)
OKLaboklab(80.78% 0.1079 -0.0709)
OKLCHoklch(80.78% 0.129 326.7)
XYZxyz(62.6513, 49.7319, 85.6396)
Luminance0.4973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECA2EC #A2ECA2
analogous
#C7A2EC #ECA2EC #ECA2C7
triadic
#ECA2EC #ECECA2 #A2ECEC
tetradic
#ECA2EC #ECC7A2 #A2ECA2 #A2C7EC
square
#ECA2EC #ECC7A2 #A2ECA2 #A2C7EC
split-complementary
#ECA2EC #C7ECA2 #A2ECC7
monochromatic
#D73CD7 #E26FE2 #ECA2EC #F6D5F6 #FAE6FA

Accessibility & contrast

On white

1.92
#ECA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#ECA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECA2EC
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECA2EC#FFFFFF#000000##000000
##ECA2EC1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5EF
Deuteranopia (green-blind)
#AFBEE9
Tritanopia (blue-blind)
#F0A9BD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #eca2ec;
/* rgb */ color: rgb(236, 162, 236);
/* oklch */ color: oklch(80.8% 0.129 326.7);
Tailwind
colors: {
  custom: {
    50: '#f3bef2',
    500: '#eca2ec',
    950: '#000000',
  },
}
SCSS
$custom: #eca2ec;
$custom-light: #f3bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#eca2ec",
  "rgb": {
    "r": 236,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80778,
    "c": 0.12912,
    "h": 326.7
  },
  "luminance": 0.4973
}

Semantic roles & 50–950 ramp

primary
#ECA2EC
secondary
#DAF1DA
accent
#CE1818
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#171217
muted
#858185

Preview Lab

Preview with #ECA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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