#EF97F7#EF97F7

#EF97F7 is a light, vivid purple. Relative luminance 0.472; OKLCH L 79.8% C 0.161 H 324.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#EF97F7
RGBrgb(239, 151, 247)
HSLhsl(295, 86%, 78%)
HSVhsv(295, 39%, 97%)
CMYKcmyk(3.2%, 38.9%, 0%, 3.1%)
CIE-LABlab(74.32, 47.68, -34.54)
CIE-LCHlch(74.32, 58.88, 324.08°)
OKLaboklab(79.79% 0.1298 -0.0945)
OKLCHoklch(79.79% 0.161 324)
XYZxyz(63.4500, 47.2018, 93.7463)
Luminance0.4720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97F7 #9FF797
analogous
#BF97F7 #EF97F7 #F797CF
triadic
#EF97F7 #F7EF97 #97F7EF
tetradic
#EF97F7 #F7BF97 #9FF797 #97CFF7
square
#EF97F7 #F7BF97 #9FF797 #97CFF7
split-complementary
#EF97F7 #CFF797 #97F7BF
monochromatic
#DE25EE #E65EF3 #EF97F7 #F8D0FB #FBE3FD

Accessibility & contrast

On white

2.01
#EF97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#EF97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97F7
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97F7#FFFFFF#000000##000000
##EF97F71.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FA
Deuteranopia (green-blind)
#A4BBF4
Tritanopia (blue-blind)
#F3A1BC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ef97f7;
/* rgb */ color: rgb(239, 151, 247);
/* oklch */ color: oklch(79.8% 0.161 324.0);
Tailwind
colors: {
  custom: {
    50: '#f6b7fa',
    500: '#ef97f7',
    950: '#000000',
  },
}
SCSS
$custom: #ef97f7;
$custom-light: #f6b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97f7",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 295,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79789,
    "c": 0.16057,
    "h": 324
  },
  "luminance": 0.47199
}

Semantic roles & 50–950 ramp

primary
#EF97F7
secondary
#D9F5D6
accent
#E20316
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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