#EF97EB#EF97EB

#EF97EB is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.3% C 0.149 H 328.5°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#EF97EB
RGBrgb(239, 151, 235)
HSLhsl(303, 73%, 76%)
HSVhsv(303, 37%, 94%)
CMYKcmyk(0%, 36.8%, 1.7%, 6.3%)
CIE-LABlab(73.86, 45.51, -28.72)
CIE-LCHlch(73.86, 53.81, 327.74°)
OKLaboklab(79.29% 0.1271 -0.078)
OKLCHoklch(79.29% 0.149 328.5)
XYZxyz(61.6575, 46.4848, 84.3058)
Luminance0.4648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97EB #97EF9B
analogous
#C797EF #EF97EB #EF97BF
triadic
#EF97EB #EBEF97 #97EBEF
tetradic
#EF97EB #EFC797 #97EF9B #97BFEF
square
#EF97EB #EFC797 #97EF9B #97BFEF
split-complementary
#EF97EB #BFEF97 #97EFC7
monochromatic
#DF2DD7 #E762E1 #EF97EB #F7CCF5 #FBE4FA

Accessibility & contrast

On white

2.04
#EF97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#EF97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97EB
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97EB#FFFFFF#000000##000000
##EF97EB1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#A8BAE8
Tritanopia (blue-blind)
#F59EB6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ef97eb;
/* rgb */ color: rgb(239, 151, 235);
/* oklch */ color: oklch(79.3% 0.149 328.5);
Tailwind
colors: {
  custom: {
    50: '#f5b7f1',
    500: '#ef97eb',
    950: '#000000',
  },
}
SCSS
$custom: #ef97eb;
$custom-light: #f5b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97eb",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 302.727,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79292,
    "c": 0.14914,
    "h": 328.5
  },
  "luminance": 0.46482
}

Semantic roles & 50–950 ramp

primary
#EF97EB
secondary
#D8F3DA
accent
#D51910
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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