#EF97EA#EF97EA

#EF97EA is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.3% C 0.148 H 328.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#EF97EA
RGBrgb(239, 151, 234)
HSLhsl(303, 73%, 76%)
HSVhsv(303, 37%, 94%)
CMYKcmyk(0%, 36.8%, 2.1%, 6.3%)
CIE-LABlab(73.82, 45.33, -28.23)
CIE-LCHlch(73.82, 53.41, 328.08°)
OKLaboklab(79.25% 0.1269 -0.0766)
OKLCHoklch(79.25% 0.148 328.9)
XYZxyz(61.5135, 46.4272, 83.5471)
Luminance0.4642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97EA #97EF9C
analogous
#C897EF #EF97EA #EF97BE
triadic
#EF97EA #EAEF97 #97EAEF
tetradic
#EF97EA #EFC897 #97EF9C #97BEEF
square
#EF97EA #EFC897 #97EF9C #97BEEF
split-complementary
#EF97EA #BEEF97 #97EFC8
monochromatic
#DF2DD5 #E762DF #EF97EA #F7CCF5 #FBE4FA

Accessibility & contrast

On white

2.04
#EF97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#EF97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97EA
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97EA#FFFFFF#000000##000000
##EF97EA1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEED
Deuteranopia (green-blind)
#A9BAE7
Tritanopia (blue-blind)
#F59EB6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ef97ea;
/* rgb */ color: rgb(239, 151, 234);
/* oklch */ color: oklch(79.3% 0.148 328.9);
Tailwind
colors: {
  custom: {
    50: '#f5b7f1',
    500: '#ef97ea',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ea;
$custom-light: #f5b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ea",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 303.409,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79252,
    "c": 0.14822,
    "h": 328.9
  },
  "luminance": 0.46424
}

Semantic roles & 50–950 ramp

primary
#EF97EA
secondary
#D8F3DA
accent
#D51B10
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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