#EF97E4#EF97E4

#EF97E4 is a light, vivid purple. Relative luminance 0.461; OKLCH L 79.0% C 0.143 H 331.4°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#EF97E4
RGBrgb(239, 151, 228)
HSLhsl(308, 73%, 76%)
HSVhsv(308, 37%, 94%)
CMYKcmyk(0%, 36.8%, 4.6%, 6.3%)
CIE-LABlab(73.60, 44.28, -25.29)
CIE-LCHlch(73.60, 50.99, 330.27°)
OKLaboklab(79.02% 0.1254 -0.0683)
OKLCHoklch(79.02% 0.143 331.4)
XYZxyz(60.6661, 46.0882, 79.0841)
Luminance0.4608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97E4 #97EFA2
analogous
#CE97EF #EF97E4 #EF97B8
triadic
#EF97E4 #E4EF97 #97E4EF
tetradic
#EF97E4 #EFCE97 #97EFA2 #97B8EF
square
#EF97E4 #EFCE97 #97EFA2 #97B8EF
split-complementary
#EF97E4 #B8EF97 #97EFCE
monochromatic
#DF2DC8 #E762D6 #EF97E4 #F7CCF2 #FBE4F8

Accessibility & contrast

On white

2.06
#EF97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#EF97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97E4
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97E4#FFFFFF#000000##000000
##EF97E41.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ADE7
Deuteranopia (green-blind)
#ABB9E1
Tritanopia (blue-blind)
#F69DB4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ef97e4;
/* rgb */ color: rgb(239, 151, 228);
/* oklch */ color: oklch(79.0% 0.143 331.4);
Tailwind
colors: {
  custom: {
    50: '#f5b7ec',
    500: '#ef97e4',
    950: '#000000',
  },
}
SCSS
$custom: #ef97e4;
$custom-light: #f5b7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97e4",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 307.5,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79015,
    "c": 0.14281,
    "h": 331.4
  },
  "luminance": 0.46085
}

Semantic roles & 50–950 ramp

primary
#EF97E4
secondary
#D8F3DC
accent
#D52910
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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