#EF97F3#EF97F3

#EF97F3 is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.6% C 0.157 H 325.4°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#EF97F3
RGBrgb(239, 151, 243)
HSLhsl(297, 79%, 77%)
HSVhsv(297, 38%, 95%)
CMYKcmyk(1.6%, 37.9%, 0%, 4.7%)
CIE-LABlab(74.16, 46.95, -32.61)
CIE-LCHlch(74.16, 57.16, 325.21°)
OKLaboklab(79.62% 0.129 -0.089)
OKLCHoklch(79.62% 0.157 325.4)
XYZxyz(62.8394, 46.9576, 90.5303)
Luminance0.4696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97F3 #9BF397
analogous
#C197F3 #EF97F3 #F397C9
triadic
#EF97F3 #F3EF97 #97F3EF
tetradic
#EF97F3 #F3C197 #9BF397 #97C9F3
square
#EF97F3 #F3C197 #9BF397 #97C9F3
split-complementary
#EF97F3 #C9F397 #97F3C1
monochromatic
#DE29E6 #E760ED #EF97F3 #F7CEF9 #FBE4FC

Accessibility & contrast

On white

2.02
#EF97F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#EF97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97F3
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97F3#FFFFFF#000000##000000
##EF97F31.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF6
Deuteranopia (green-blind)
#A6BAF0
Tritanopia (blue-blind)
#F3A0BA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef97f3;
/* rgb */ color: rgb(239, 151, 243);
/* oklch */ color: oklch(79.6% 0.157 325.4);
Tailwind
colors: {
  custom: {
    50: '#f6b7f7',
    500: '#ef97f3',
    950: '#000000',
  },
}
SCSS
$custom: #ef97f3;
$custom-light: #f6b7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97f3",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 297.391,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79621,
    "c": 0.15668,
    "h": 325.4
  },
  "luminance": 0.46955
}

Semantic roles & 50–950 ramp

primary
#EF97F3
secondary
#D9F4D7
accent
#DC0A13
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EF97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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