#EF97FB#EF97FB

#EF97FB is a light, vivid purple. Relative luminance 0.474; OKLCH L 80.0% C 0.165 H 322.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#EF97FB
RGBrgb(239, 151, 251)
HSLhsl(293, 93%, 79%)
HSVhsv(293, 40%, 98%)
CMYKcmyk(4.8%, 39.8%, 0%, 1.6%)
CIE-LABlab(74.48, 48.42, -36.47)
CIE-LCHlch(74.48, 60.62, 323.02°)
OKLaboklab(79.96% 0.1307 -0.1)
OKLCHoklch(79.96% 0.165 322.6)
XYZxyz(64.0739, 47.4514, 97.0320)
Luminance0.4745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97FB #A3FB97
analogous
#BD97FB #EF97FB #FB97D5
triadic
#EF97FB #FBEF97 #97FBEF
tetradic
#EF97FB #FBBD97 #A3FB97 #97D5FB
square
#EF97FB #FBBD97 #A3FB97 #97D5FB
split-complementary
#EF97FB #D5FB97 #97FBBD
monochromatic
#DD21F6 #E65CF9 #EF97FB #F8D2FD #FAE2FE

Accessibility & contrast

On white

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

On black

10.49
#EF97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97FB
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97FB#FFFFFF#000000##000000
##EF97FB1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef97fb;
/* rgb */ color: rgb(239, 151, 251);
/* oklch */ color: oklch(80.0% 0.165 322.6);
Tailwind
colors: {
  custom: {
    50: '#f6b7fd',
    500: '#ef97fb',
    950: '#000000',
  },
}
SCSS
$custom: #ef97fb;
$custom-light: #f6b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97fb",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 292.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79961,
    "c": 0.16451,
    "h": 322.6
  },
  "luminance": 0.47449
}

Semantic roles & 50–950 ramp

primary
#EF97FB
secondary
#D9F6D5
accent
#E6001C
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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