#EF97EF#EF97EF

#EF97EF is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.5% C 0.153 H 326.9°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#EF97EF
RGBrgb(239, 151, 239)
HSLhsl(300, 73%, 76%)
HSVhsv(300, 37%, 94%)
CMYKcmyk(0%, 36.8%, 0%, 6.3%)
CIE-LABlab(74.01, 46.22, -30.67)
CIE-LCHlch(74.01, 55.47, 326.43°)
OKLaboklab(79.46% 0.1281 -0.0835)
OKLCHoklch(79.46% 0.153 326.9)
XYZxyz(62.2419, 46.7186, 87.3836)
Luminance0.4672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97EF #97EF97
analogous
#C397EF #EF97EF #EF97C3
triadic
#EF97EF #EFEF97 #97EFEF
tetradic
#EF97EF #EFC397 #97EF97 #97C3EF
square
#EF97EF #EFC397 #97EF97 #97C3EF
split-complementary
#EF97EF #C3EF97 #97EFC3
monochromatic
#DF2DDF #E762E7 #EF97EF #F7CCF7 #FBE4FB

Accessibility & contrast

On white

2.03
#EF97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#EF97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97EF
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97EF#FFFFFF#000000##000000
##EF97EF1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF2
Deuteranopia (green-blind)
#A7BAEC
Tritanopia (blue-blind)
#F49FB8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef97ef;
/* rgb */ color: rgb(239, 151, 239);
/* oklch */ color: oklch(79.5% 0.153 326.9);
Tailwind
colors: {
  custom: {
    50: '#f5b7f4',
    500: '#ef97ef',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ef;
$custom-light: #f5b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ef",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79455,
    "c": 0.15288,
    "h": 326.9
  },
  "luminance": 0.46716
}

Semantic roles & 50–950 ramp

primary
#EF97EF
secondary
#D8F3D8
accent
#D51010
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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