#EF97EE#EF97EE

#EF97EE is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.4% C 0.152 H 327.3°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#EF97EE
RGBrgb(239, 151, 238)
HSLhsl(301, 73%, 76%)
HSVhsv(301, 37%, 94%)
CMYKcmyk(0%, 36.8%, 0.4%, 6.3%)
CIE-LABlab(73.97, 46.04, -30.19)
CIE-LCHlch(73.97, 55.06, 326.75°)
OKLaboklab(79.41% 0.1278 -0.0821)
OKLCHoklch(79.41% 0.152 327.3)
XYZxyz(62.0946, 46.6597, 86.6077)
Luminance0.4666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97EE #97EF98
analogous
#C497EF #EF97EE #EF97C2
triadic
#EF97EE #EEEF97 #97EEEF
tetradic
#EF97EE #EFC497 #97EF98 #97C2EF
square
#EF97EE #EFC497 #97EF98 #97C2EF
split-complementary
#EF97EE #C2EF97 #97EFC4
monochromatic
#DF2DDD #E762E5 #EF97EE #F7CCF7 #FBE4FB

Accessibility & contrast

On white

2.03
#EF97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#EF97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97EE
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97EE#FFFFFF#000000##000000
##EF97EE1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF1
Deuteranopia (green-blind)
#A7BAEB
Tritanopia (blue-blind)
#F49FB8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef97ee;
/* rgb */ color: rgb(239, 151, 238);
/* oklch */ color: oklch(79.4% 0.152 327.3);
Tailwind
colors: {
  custom: {
    50: '#f5b7f3',
    500: '#ef97ee',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ee;
$custom-light: #f5b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ee",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 300.682,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79414,
    "c": 0.15193,
    "h": 327.3
  },
  "luminance": 0.46657
}

Semantic roles & 50–950 ramp

primary
#EF97EE
secondary
#D8F3D9
accent
#D51210
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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