#EF97FC#EF97FC

#EF97FC is a light, vivid purple. Relative luminance 0.475; OKLCH L 80.0% C 0.166 H 322.2°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#EF97FC
RGBrgb(239, 151, 252)
HSLhsl(292, 94%, 79%)
HSVhsv(292, 40%, 99%)
CMYKcmyk(5.2%, 40.1%, 0%, 1.2%)
CIE-LABlab(74.52, 48.61, -36.95)
CIE-LCHlch(74.52, 61.06, 322.76°)
OKLaboklab(80% 0.1309 -0.1013)
OKLCHoklch(80% 0.166 322.2)
XYZxyz(64.2319, 47.5146, 97.8643)
Luminance0.4751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97FC #A4FC97
analogous
#BD97FC #EF97FC #FC97D7
triadic
#EF97FC #FCEF97 #97FCEF
tetradic
#EF97FC #FCBD97 #A4FC97 #97D7FC
square
#EF97FC #FCBD97 #A4FC97 #97D7FC
split-complementary
#EF97FC #D7FC97 #97FCBD
monochromatic
#DD20F9 #E65CFA #EF97FC #F8D2FE #FAE1FE

Accessibility & contrast

On white

2.00
#EF97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#EF97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97FC
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97FC#FFFFFF#000000##000000
##EF97FC1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#A2BBF9
Tritanopia (blue-blind)
#F2A3BE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ef97fc;
/* rgb */ color: rgb(239, 151, 252);
/* oklch */ color: oklch(80.0% 0.166 322.2);
Tailwind
colors: {
  custom: {
    50: '#f6b7fd',
    500: '#ef97fc',
    950: '#000000',
  },
}
SCSS
$custom: #ef97fc;
$custom-light: #f6b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97fc",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 292.277,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80004,
    "c": 0.16551,
    "h": 322.2
  },
  "luminance": 0.47512
}

Semantic roles & 50–950 ramp

primary
#EF97FC
secondary
#D9F6D5
accent
#E6001E
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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