#EF97E6#EF97E6

#EF97E6 is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.1% C 0.145 H 330.5°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#EF97E6
RGBrgb(239, 151, 230)
HSLhsl(306, 73%, 76%)
HSVhsv(306, 37%, 94%)
CMYKcmyk(0%, 36.8%, 3.8%, 6.3%)
CIE-LABlab(73.68, 44.63, -26.27)
CIE-LCHlch(73.68, 51.79, 329.51°)
OKLaboklab(79.09% 0.1259 -0.0711)
OKLCHoklch(79.09% 0.145 330.5)
XYZxyz(60.9453, 46.1999, 80.5548)
Luminance0.4620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97E6 #97EFA0
analogous
#CC97EF #EF97E6 #EF97BA
triadic
#EF97E6 #E6EF97 #97E6EF
tetradic
#EF97E6 #EFCC97 #97EFA0 #97BAEF
square
#EF97E6 #EFCC97 #97EFA0 #97BAEF
split-complementary
#EF97E6 #BAEF97 #97EFCC
monochromatic
#DF2DCD #E762D9 #EF97E6 #F7CCF3 #FBE4F9

Accessibility & contrast

On white

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

On black

10.24
#EF97E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97E6
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97E6#FFFFFF#000000##000000
##EF97E61.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef97e6;
/* rgb */ color: rgb(239, 151, 230);
/* oklch */ color: oklch(79.1% 0.145 330.5);
Tailwind
colors: {
  custom: {
    50: '#f5b7ee',
    500: '#ef97e6',
    950: '#000000',
  },
}
SCSS
$custom: #ef97e6;
$custom-light: #f5b7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97e6",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 230
  },
  "hsl": {
    "h": 306.136,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79093,
    "c": 0.14458,
    "h": 330.5
  },
  "luminance": 0.46197
}

Semantic roles & 50–950 ramp

primary
#EF97E6
secondary
#D8F3DB
accent
#D52410
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97E6

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

Preview Lab → · Contrast checker → · Palette generator →

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