#EF97E8#EF97E8

#EF97E8 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.2% C 0.146 H 329.7°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#EF97E8
RGBrgb(239, 151, 232)
HSLhsl(305, 73%, 76%)
HSVhsv(305, 37%, 94%)
CMYKcmyk(0%, 36.8%, 2.9%, 6.3%)
CIE-LABlab(73.75, 44.98, -27.26)
CIE-LCHlch(73.75, 52.59, 328.79°)
OKLaboklab(79.17% 0.1264 -0.0739)
OKLCHoklch(79.17% 0.146 329.7)
XYZxyz(61.2278, 46.3129, 82.0424)
Luminance0.4631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97E8 #97EF9E
analogous
#CA97EF #EF97E8 #EF97BC
triadic
#EF97E8 #E8EF97 #97E8EF
tetradic
#EF97E8 #EFCA97 #97EF9E #97BCEF
square
#EF97E8 #EFCA97 #97EF9E #97BCEF
split-complementary
#EF97E8 #BCEF97 #97EFCA
monochromatic
#DF2DD1 #E762DC #EF97E8 #F7CCF4 #FBE4F9

Accessibility & contrast

On white

2.05
#EF97E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#EF97E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97E8
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97E8#FFFFFF#000000##000000
##EF97E81.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEEB
Deuteranopia (green-blind)
#AABAE5
Tritanopia (blue-blind)
#F59DB5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ef97e8;
/* rgb */ color: rgb(239, 151, 232);
/* oklch */ color: oklch(79.2% 0.146 329.7);
Tailwind
colors: {
  custom: {
    50: '#f5b7ef',
    500: '#ef97e8',
    950: '#000000',
  },
}
SCSS
$custom: #ef97e8;
$custom-light: #f5b7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97e8",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 304.773,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79172,
    "c": 0.14639,
    "h": 329.7
  },
  "luminance": 0.4631
}

Semantic roles & 50–950 ramp

primary
#EF97E8
secondary
#D8F3DA
accent
#D52010
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97E8

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

Preview Lab → · Contrast checker → · Palette generator →

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