#ECA8EF#ECA8EF

#ECA8EF is a light, vivid purple. Relative luminance 0.521; OKLCH L 81.9% C 0.122 H 325.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#ECA8EF
RGBrgb(236, 168, 239)
HSLhsl(297, 69%, 80%)
HSVhsv(297, 30%, 94%)
CMYKcmyk(1.3%, 29.7%, 0%, 6.3%)
CIE-LABlab(77.32, 36.38, -25.61)
CIE-LCHlch(77.32, 44.49, 324.85°)
OKLaboklab(81.89% 0.0999 -0.0694)
OKLCHoklch(81.89% 0.122 325.2)
XYZxyz(64.1731, 52.0722, 88.3151)
Luminance0.5207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECA8EF #ABEFA8
analogous
#C9A8EF #ECA8EF #EFA8CE
triadic
#ECA8EF #EFECA8 #A8EFEC
tetradic
#ECA8EF #EFC9A8 #ABEFA8 #A8CEEF
square
#ECA8EF #EFC9A8 #ABEFA8 #A8CEEF
split-complementary
#ECA8EF #CEEFA8 #A8EFC9
monochromatic
#D541DC #E174E5 #ECA8EF #F7DCF9 #F9E5FA

Accessibility & contrast

On white

1.84
#ECA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#ECA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECA8EF
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECA8EF#FFFFFF#000000##000000
##ECA8EF1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BAF2
Deuteranopia (green-blind)
#B3C2ED
Tritanopia (blue-blind)
#F0AFC2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #eca8ef;
/* rgb */ color: rgb(236, 168, 239);
/* oklch */ color: oklch(81.9% 0.122 325.2);
Tailwind
colors: {
  custom: {
    50: '#f3c2f4',
    500: '#eca8ef',
    950: '#000000',
  },
}
SCSS
$custom: #eca8ef;
$custom-light: #f3c2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eca8ef",
  "rgb": {
    "r": 236,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 297.465,
    "s": 68.932,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.12164,
    "h": 325.2
  },
  "luminance": 0.5207
}

Semantic roles & 50–950 ramp

primary
#ECA8EF
secondary
#73CD6F
accent
#D1151D
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#171217
muted
#858285

Preview Lab

Preview with #ECA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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