#EF98EF#EF98EF

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

Color values

HEX#EF98EF
RGBrgb(239, 152, 239)
HSLhsl(300, 73%, 77%)
HSVhsv(300, 36%, 94%)
CMYKcmyk(0%, 36.4%, 0%, 6.3%)
CIE-LABlab(74.22, 45.71, -30.35)
CIE-LCHlch(74.22, 54.87, 326.41°)
OKLaboklab(79.61% 0.1266 -0.0826)
OKLCHoklch(79.61% 0.151 326.9)
XYZxyz(62.4036, 47.0418, 87.4375)
Luminance0.4704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98EF #98EF98
analogous
#C498EF #EF98EF #EF98C4
triadic
#EF98EF #EFEF98 #98EFEF
tetradic
#EF98EF #EFC498 #98EF98 #98C4EF
square
#EF98EF #EFC498 #98EF98 #98C4EF
split-complementary
#EF98EF #C4EF98 #98EFC4
monochromatic
#DF2EDF #E763E7 #EF98EF #F7CDF7 #FBE5FB

Accessibility & contrast

On white

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

On black

10.41
#EF98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98EF
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98EF#FFFFFF#000000##000000
##EF98EF1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF2
Deuteranopia (green-blind)
#A8BAEC
Tritanopia (blue-blind)
#F4A0B9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef98ef;
/* rgb */ color: rgb(239, 152, 239);
/* oklch */ color: oklch(79.6% 0.151 326.9);
Tailwind
colors: {
  custom: {
    50: '#f5b8f4',
    500: '#ef98ef',
    950: '#000000',
  },
}
SCSS
$custom: #ef98ef;
$custom-light: #f5b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98ef",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79611,
    "c": 0.15117,
    "h": 326.9
  },
  "luminance": 0.47039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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