#EF98E2#EF98E2

#EF98E2 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.1% C 0.139 H 332.3°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#EF98E2
RGBrgb(239, 152, 226)
HSLhsl(309, 73%, 77%)
HSVhsv(309, 36%, 94%)
CMYKcmyk(0%, 36.4%, 5.4%, 6.3%)
CIE-LABlab(73.74, 43.42, -23.99)
CIE-LCHlch(73.74, 49.60, 331.08°)
OKLaboklab(79.1% 0.1234 -0.0647)
OKLCHoklch(79.1% 0.139 332.3)
XYZxyz(60.5517, 46.3011, 77.6843)
Luminance0.4630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98E2 #98EFA5
analogous
#D198EF #EF98E2 #EF98B7
triadic
#EF98E2 #E2EF98 #98E2EF
tetradic
#EF98E2 #EFD198 #98EFA5 #98B7EF
square
#EF98E2 #EFD198 #98EFA5 #98B7EF
split-complementary
#EF98E2 #B7EF98 #98EFD1
monochromatic
#DF2EC4 #E763D3 #EF98E2 #F7CDF1 #FBE5F8

Accessibility & contrast

On white

2.05
#EF98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#EF98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98E2
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98E2#FFFFFF#000000##000000
##EF98E21.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE5
Deuteranopia (green-blind)
#ACBADF
Tritanopia (blue-blind)
#F69DB3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ef98e2;
/* rgb */ color: rgb(239, 152, 226);
/* oklch */ color: oklch(79.1% 0.139 332.3);
Tailwind
colors: {
  custom: {
    50: '#f5b8eb',
    500: '#ef98e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef98e2;
$custom-light: #f5b8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98e2",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 308.966,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79095,
    "c": 0.13932,
    "h": 332.3
  },
  "luminance": 0.46298
}

Semantic roles & 50–950 ramp

primary
#EF98E2
secondary
#D8F3DC
accent
#D52E10
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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