#EF97FE#EF97FE

#EF97FE is a light, vivid purple. Relative luminance 0.476; OKLCH L 80.1% C 0.168 H 321.6°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#EF97FE
RGBrgb(239, 151, 254)
HSLhsl(291, 98%, 79%)
HSVhsv(291, 41%, 100%)
CMYKcmyk(5.9%, 40.6%, 0%, 0.4%)
CIE-LABlab(74.60, 48.99, -37.90)
CIE-LCHlch(74.60, 61.94, 322.27°)
OKLaboklab(80.09% 0.1313 -0.1041)
OKLCHoklch(80.09% 0.168 321.6)
XYZxyz(64.5505, 47.6420, 99.5423)
Luminance0.4764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97FE #A6FE97
analogous
#BC97FE #EF97FE #FE97DA
triadic
#EF97FE #FEEF97 #97FEEF
tetradic
#EF97FE #FEBC97 #A6FE97 #97DAFE
square
#EF97FE #FEBC97 #A6FE97 #97DAFE
split-complementary
#EF97FE #DAFE97 #97FEBC
monochromatic
#DC1EFD #E65AFD #EF97FE #F8D4FF #FAE1FF

Accessibility & contrast

On white

1.99
#EF97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#EF97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97FE
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97FE#FFFFFF#000000##000000
##EF97FE1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef97fe;
/* rgb */ color: rgb(239, 151, 254);
/* oklch */ color: oklch(80.1% 0.168 321.6);
Tailwind
colors: {
  custom: {
    50: '#f6b7ff',
    500: '#ef97fe',
    950: '#000000',
  },
}
SCSS
$custom: #ef97fe;
$custom-light: #f6b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97fe",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 291.262,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.80091,
    "c": 0.1675,
    "h": 321.6
  },
  "luminance": 0.4764
}

Semantic roles & 50–950 ramp

primary
#EF97FE
secondary
#D9F7D4
accent
#E60021
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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