#EF98E7#EF98E7

#EF98E7 is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.3% C 0.144 H 330.1°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#EF98E7
RGBrgb(239, 152, 231)
HSLhsl(306, 73%, 77%)
HSVhsv(306, 36%, 94%)
CMYKcmyk(0%, 36.4%, 3.3%, 6.3%)
CIE-LABlab(73.92, 44.28, -26.45)
CIE-LCHlch(73.92, 51.58, 329.16°)
OKLaboklab(79.29% 0.1247 -0.0716)
OKLCHoklch(79.29% 0.144 330.1)
XYZxyz(61.2478, 46.5795, 81.3504)
Luminance0.4658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98E7 #98EFA0
analogous
#CC98EF #EF98E7 #EF98BC
triadic
#EF98E7 #E7EF98 #98E7EF
tetradic
#EF98E7 #EFCC98 #98EFA0 #98BCEF
square
#EF98E7 #EFCC98 #98EFA0 #98BCEF
split-complementary
#EF98E7 #BCEF98 #98EFCC
monochromatic
#DF2ECE #E763DB #EF98E7 #F7CDF3 #FBE5F9

Accessibility & contrast

On white

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

On black

10.32
#EF98E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98E7
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98E7#FFFFFF#000000##000000
##EF98E71.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AEEA
Deuteranopia (green-blind)
#ABBAE4
Tritanopia (blue-blind)
#F59EB5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef98e7;
/* rgb */ color: rgb(239, 152, 231);
/* oklch */ color: oklch(79.3% 0.144 330.1);
Tailwind
colors: {
  custom: {
    50: '#f5b8ee',
    500: '#ef98e7',
    950: '#000000',
  },
}
SCSS
$custom: #ef98e7;
$custom-light: #f5b8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98e7",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 305.517,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7929,
    "c": 0.14377,
    "h": 330.1
  },
  "luminance": 0.46577
}

Semantic roles & 50–950 ramp

primary
#EF98E7
secondary
#D8F3DB
accent
#D52210
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF98E7

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

Preview Lab → · Contrast checker → · Palette generator →

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