#EF97FD#EF97FD

#EF97FD is a light, vivid purple. Relative luminance 0.476; OKLCH L 80.0% C 0.167 H 321.9°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#EF97FD
RGBrgb(239, 151, 253)
HSLhsl(292, 96%, 79%)
HSVhsv(292, 40%, 99%)
CMYKcmyk(5.5%, 40.3%, 0%, 0.8%)
CIE-LABlab(74.56, 48.80, -37.43)
CIE-LCHlch(74.56, 61.50, 322.51°)
OKLaboklab(80.05% 0.1311 -0.1027)
OKLCHoklch(80.05% 0.167 321.9)
XYZxyz(64.3908, 47.5781, 98.7011)
Luminance0.4758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97FD #A5FD97
analogous
#BC97FD #EF97FD #FD97D8
triadic
#EF97FD #FDEF97 #97FDEF
tetradic
#EF97FD #FDBC97 #A5FD97 #97D8FD
square
#EF97FD #FDBC97 #A5FD97 #97D8FD
split-complementary
#EF97FD #D8FD97 #97FDBC
monochromatic
#DD1FFB #E65BFC #EF97FD #F8D3FE #FAE1FE

Accessibility & contrast

On white

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

On black

10.52
#EF97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97FD
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97FD#FFFFFF#000000##000000
##EF97FD1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef97fd;
/* rgb */ color: rgb(239, 151, 253);
/* oklch */ color: oklch(80.0% 0.167 321.9);
Tailwind
colors: {
  custom: {
    50: '#f6b7fe',
    500: '#ef97fd',
    950: '#000000',
  },
}
SCSS
$custom: #ef97fd;
$custom-light: #f6b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97fd",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 291.765,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80048,
    "c": 0.16651,
    "h": 321.9
  },
  "luminance": 0.47576
}

Semantic roles & 50–950 ramp

primary
#EF97FD
secondary
#D9F7D4
accent
#E6001F
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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