#EF89E2#EF89E2

#EF89E2 is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.8% C 0.165 H 331.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#EF89E2
RGBrgb(239, 137, 226)
HSLhsl(308, 76%, 74%)
HSVhsv(308, 43%, 94%)
CMYKcmyk(0%, 42.7%, 5.4%, 6.3%)
CIE-LABlab(70.69, 51.10, -28.66)
CIE-LCHlch(70.69, 58.59, 330.71°)
OKLaboklab(76.8% 0.1453 -0.0777)
OKLCHoklch(76.8% 0.165 331.9)
XYZxyz(58.2692, 41.7362, 76.9235)
Luminance0.4173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF89E2 #89EF96
analogous
#C989EF #EF89E2 #EF89AF
triadic
#EF89E2 #E2EF89 #89E2EF
tetradic
#EF89E2 #EFC989 #89EF96 #89AFEF
square
#EF89E2 #EFC989 #89EF96 #89AFEF
split-complementary
#EF89E2 #AFEF89 #89EFC9
monochromatic
#DF1EC7 #E853D5 #EF89E2 #F6BFEF #FBE4F8

Accessibility & contrast

On white

2.25
#EF89E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#EF89E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF89E2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF89E2#FFFFFF#000000##000000
##EF89E21.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A4E5
Deuteranopia (green-blind)
#A2B2DF
Tritanopia (blue-blind)
#F790AB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef89e2;
/* rgb */ color: rgb(239, 137, 226);
/* oklch */ color: oklch(76.8% 0.165 331.9);
Tailwind
colors: {
  custom: {
    50: '#f6aeeb',
    500: '#ef89e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef89e2;
$custom-light: #f6aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef89e2",
  "rgb": {
    "r": 239,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 307.647,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.768,
    "c": 0.16477,
    "h": 331.9
  },
  "luminance": 0.41733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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