#EF89EB#EF89EB

#EF89EB is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.2% C 0.173 H 328.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#EF89EB
RGBrgb(239, 137, 235)
HSLhsl(302, 76%, 74%)
HSVhsv(302, 43%, 94%)
CMYKcmyk(0%, 42.7%, 1.7%, 6.3%)
CIE-LABlab(71.04, 52.65, -33.07)
CIE-LCHlch(71.04, 62.17, 327.86°)
OKLaboklab(77.18% 0.1472 -0.0902)
OKLCHoklch(77.18% 0.173 328.5)
XYZxyz(59.5367, 42.2432, 83.5989)
Luminance0.4224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF89EB #89EF8D
analogous
#C089EF #EF89EB #EF89B8
triadic
#EF89EB #EBEF89 #89EBEF
tetradic
#EF89EB #EFC089 #89EF8D #89B8EF
square
#EF89EB #EFC089 #89EF8D #89B8EF
split-complementary
#EF89EB #B8EF89 #89EFC0
monochromatic
#DF1ED8 #E853E2 #EF89EB #F6BFF4 #FBE4FA

Accessibility & contrast

On white

2.22
#EF89EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#EF89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF89EB
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF89EB#FFFFFF#000000##000000
##EF89EB1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#F592AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef89eb;
/* rgb */ color: rgb(239, 137, 235);
/* oklch */ color: oklch(77.2% 0.173 328.5);
Tailwind
colors: {
  custom: {
    50: '#f6aef1',
    500: '#ef89eb',
    950: '#000000',
  },
}
SCSS
$custom: #ef89eb;
$custom-light: #f6aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef89eb",
  "rgb": {
    "r": 239,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 302.353,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77176,
    "c": 0.17266,
    "h": 328.5
  },
  "luminance": 0.4224
}

Semantic roles & 50–950 ramp

primary
#EF89EB
secondary
#D8F3D9
accent
#D8150D
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #EF89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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