#EF97EC#EF97EC

#EF97EC is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.3% C 0.150 H 328.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#EF97EC
RGBrgb(239, 151, 236)
HSLhsl(302, 73%, 76%)
HSVhsv(302, 37%, 94%)
CMYKcmyk(0%, 36.8%, 1.3%, 6.3%)
CIE-LABlab(73.90, 45.69, -29.21)
CIE-LCHlch(73.90, 54.23, 327.41°)
OKLaboklab(79.33% 0.1274 -0.0794)
OKLCHoklch(79.33% 0.15 328.1)
XYZxyz(61.8024, 46.5428, 85.0689)
Luminance0.4654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97EC #97EF9A
analogous
#C697EF #EF97EC #EF97C0
triadic
#EF97EC #ECEF97 #97ECEF
tetradic
#EF97EC #EFC697 #97EF9A #97C0EF
square
#EF97EC #EFC697 #97EF9A #97C0EF
split-complementary
#EF97EC #C0EF97 #97EFC6
monochromatic
#DF2DD9 #E762E2 #EF97EC #F7CCF6 #FBE4FA

Accessibility & contrast

On white

2.04
#EF97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#EF97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97EC
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97EC#FFFFFF#000000##000000
##EF97EC1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEF
Deuteranopia (green-blind)
#A8BAE9
Tritanopia (blue-blind)
#F59EB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef97ec;
/* rgb */ color: rgb(239, 151, 236);
/* oklch */ color: oklch(79.3% 0.150 328.1);
Tailwind
colors: {
  custom: {
    50: '#f5b7f2',
    500: '#ef97ec',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ec;
$custom-light: #f5b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ec",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 302.045,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79333,
    "c": 0.15007,
    "h": 328.1
  },
  "luminance": 0.4654
}

Semantic roles & 50–950 ramp

primary
#EF97EC
secondary
#D8F3D9
accent
#D51710
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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