#EC89EF#EC89EF

#EC89EF is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.0% C 0.174 H 326.0°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#EC89EF
RGBrgb(236, 137, 239)
HSLhsl(298, 76%, 74%)
HSVhsv(298, 43%, 94%)
CMYKcmyk(1.3%, 42.7%, 0%, 6.3%)
CIE-LABlab(70.84, 52.48, -35.60)
CIE-LCHlch(70.84, 63.41, 325.85°)
OKLaboklab(77.01% 0.1447 -0.0974)
OKLCHoklch(77.01% 0.174 326)
XYZxyz(59.1165, 41.9589, 86.6296)
Luminance0.4196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89EF #8CEF89
analogous
#B989EF #EC89EF #EF89BF
triadic
#EC89EF #EFEC89 #89EFEC
tetradic
#EC89EF #EFB989 #8CEF89 #89BFEF
square
#EC89EF #EFB989 #8CEF89 #89BFEF
split-complementary
#EC89EF #BFEF89 #89EFB9
monochromatic
#DA1EDF #E353E8 #EC89EF #F5BFF6 #FBE4FB

Accessibility & contrast

On white

2.24
#EC89EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#EC89EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89EF
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89EF#FFFFFF#000000##000000
##EC89EF1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F3
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#F194B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec89ef;
/* rgb */ color: rgb(236, 137, 239);
/* oklch */ color: oklch(77.0% 0.174 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4aef4',
    500: '#ec89ef',
    950: '#000000',
  },
}
SCSS
$custom: #ec89ef;
$custom-light: #f4aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89ef",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 298.235,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77006,
    "c": 0.17442,
    "h": 326
  },
  "luminance": 0.41956
}

Semantic roles & 50–950 ramp

primary
#EC89EF
secondary
#D9F3D8
accent
#D80D13
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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