#EF89E4#EF89E4

#EF89E4 is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.9% C 0.166 H 331.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EF89E4
RGBrgb(239, 137, 228)
HSLhsl(306, 76%, 74%)
HSVhsv(306, 43%, 94%)
CMYKcmyk(0%, 42.7%, 4.6%, 6.3%)
CIE-LABlab(70.77, 51.44, -29.65)
CIE-LCHlch(70.77, 59.37, 330.04°)
OKLaboklab(76.88% 0.1457 -0.0805)
OKLCHoklch(76.88% 0.166 331.1)
XYZxyz(58.5453, 41.8466, 78.3772)
Luminance0.4184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF89E4 #89EF94
analogous
#C789EF #EF89E4 #EF89B1
triadic
#EF89E4 #E4EF89 #89E4EF
tetradic
#EF89E4 #EFC789 #89EF94 #89B1EF
square
#EF89E4 #EFC789 #89EF94 #89B1EF
split-complementary
#EF89E4 #B1EF89 #89EFC7
monochromatic
#DF1ECA #E853D8 #EF89E4 #F6BFF0 #FBE4F9

Accessibility & contrast

On white

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

On black

9.37
#EF89E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF89E4
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF89E4#FFFFFF#000000##000000
##EF89E41.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A4E7
Deuteranopia (green-blind)
#A1B2E1
Tritanopia (blue-blind)
#F690AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef89e4;
/* rgb */ color: rgb(239, 137, 228);
/* oklch */ color: oklch(76.9% 0.166 331.1);
Tailwind
colors: {
  custom: {
    50: '#f6aeec',
    500: '#ef89e4',
    950: '#000000',
  },
}
SCSS
$custom: #ef89e4;
$custom-light: #f6aeec;
$custom-dark: #000000;
JSON
{
  "hex": "#ef89e4",
  "rgb": {
    "r": 239,
    "g": 137,
    "b": 228
  },
  "hsl": {
    "h": 306.471,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76882,
    "c": 0.16649,
    "h": 331.1
  },
  "luminance": 0.41843
}

Semantic roles & 50–950 ramp

primary
#EF89E4
secondary
#D8F3DB
accent
#D8230D
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF89E4

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

Preview Lab → · Contrast checker → · Palette generator →

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