#EF97FA#EF97FA

#EF97FA is a light, vivid purple. Relative luminance 0.474; OKLCH L 79.9% C 0.164 H 322.9°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#EF97FA
RGBrgb(239, 151, 250)
HSLhsl(293, 91%, 79%)
HSVhsv(293, 40%, 98%)
CMYKcmyk(4.4%, 39.6%, 0%, 2%)
CIE-LABlab(74.44, 48.24, -35.99)
CIE-LCHlch(74.44, 60.18, 323.28°)
OKLaboklab(79.92% 0.1305 -0.0986)
OKLCHoklch(79.92% 0.164 322.9)
XYZxyz(63.9167, 47.3885, 96.2040)
Luminance0.4739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97FA #A2FA97
analogous
#BD97FA #EF97FA #FA97D3
triadic
#EF97FA #FAEF97 #97FAEF
tetradic
#EF97FA #FABD97 #A2FA97 #97D3FA
square
#EF97FA #FABD97 #A2FA97 #97D3FA
split-complementary
#EF97FA #D3FA97 #97FABD
monochromatic
#DD22F4 #E65DF7 #EF97FA #F8D1FD #FBE2FE

Accessibility & contrast

On white

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

On black

10.48
#EF97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97FA
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97FA#FFFFFF#000000##000000
##EF97FA1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef97fa;
/* rgb */ color: rgb(239, 151, 250);
/* oklch */ color: oklch(79.9% 0.164 322.9);
Tailwind
colors: {
  custom: {
    50: '#f6b7fc',
    500: '#ef97fa',
    950: '#000000',
  },
}
SCSS
$custom: #ef97fa;
$custom-light: #f6b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97fa",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 293.333,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79918,
    "c": 0.16352,
    "h": 322.9
  },
  "luminance": 0.47386
}

Semantic roles & 50–950 ramp

primary
#EF97FA
secondary
#D9F6D5
accent
#E6001A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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