#EF97ED#EF97ED

#EF97ED is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.4% C 0.151 H 327.7°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#EF97ED
RGBrgb(239, 151, 237)
HSLhsl(301, 73%, 76%)
HSVhsv(301, 37%, 94%)
CMYKcmyk(0%, 36.8%, 0.8%, 6.3%)
CIE-LABlab(73.93, 45.86, -29.70)
CIE-LCHlch(73.93, 54.64, 327.08°)
OKLaboklab(79.37% 0.1276 -0.0807)
OKLCHoklch(79.37% 0.151 327.7)
XYZxyz(61.9481, 46.6011, 85.8362)
Luminance0.4660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97ED #97EF99
analogous
#C597EF #EF97ED #EF97C1
triadic
#EF97ED #EDEF97 #97EDEF
tetradic
#EF97ED #EFC597 #97EF99 #97C1EF
square
#EF97ED #EFC597 #97EF99 #97C1EF
split-complementary
#EF97ED #C1EF97 #97EFC5
monochromatic
#DF2DDB #E762E4 #EF97ED #F7CCF6 #FBE4FA

Accessibility & contrast

On white

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

On black

10.32
#EF97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97ED
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97ED#FFFFFF#000000##000000
##EF97ED1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF0
Deuteranopia (green-blind)
#A8BAEA
Tritanopia (blue-blind)
#F49FB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef97ed;
/* rgb */ color: rgb(239, 151, 237);
/* oklch */ color: oklch(79.4% 0.151 327.7);
Tailwind
colors: {
  custom: {
    50: '#f5b7f3',
    500: '#ef97ed',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ed;
$custom-light: #f5b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ed",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 301.364,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79373,
    "c": 0.151,
    "h": 327.7
  },
  "luminance": 0.46598
}

Semantic roles & 50–950 ramp

primary
#EF97ED
secondary
#D8F3D9
accent
#D51510
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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