#EF98EB#EF98EB

#EF98EB is a light, vivid purple. Relative luminance 0.468; OKLCH L 79.4% C 0.147 H 328.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#EF98EB
RGBrgb(239, 152, 235)
HSLhsl(303, 73%, 77%)
HSVhsv(303, 36%, 94%)
CMYKcmyk(0%, 36.4%, 1.7%, 6.3%)
CIE-LABlab(74.07, 44.99, -28.40)
CIE-LCHlch(74.07, 53.21, 327.74°)
OKLaboklab(79.45% 0.1257 -0.0771)
OKLCHoklch(79.45% 0.147 328.5)
XYZxyz(61.8192, 46.8081, 84.3597)
Luminance0.4681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98EB #98EF9C
analogous
#C898EF #EF98EB #EF98C0
triadic
#EF98EB #EBEF98 #98EBEF
tetradic
#EF98EB #EFC898 #98EF9C #98C0EF
square
#EF98EB #EFC898 #98EF9C #98C0EF
split-complementary
#EF98EB #C0EF98 #98EFC8
monochromatic
#DF2ED6 #E763E1 #EF98EB #F7CDF5 #FBE5FA

Accessibility & contrast

On white

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

On black

10.36
#EF98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98EB
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98EB#FFFFFF#000000##000000
##EF98EB1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#A9BAE8
Tritanopia (blue-blind)
#F59FB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ef98eb;
/* rgb */ color: rgb(239, 152, 235);
/* oklch */ color: oklch(79.4% 0.147 328.5);
Tailwind
colors: {
  custom: {
    50: '#f5b8f1',
    500: '#ef98eb',
    950: '#000000',
  },
}
SCSS
$custom: #ef98eb;
$custom-light: #f5b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98eb",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 302.759,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79449,
    "c": 0.14743,
    "h": 328.5
  },
  "luminance": 0.46805
}

Semantic roles & 50–950 ramp

primary
#EF98EB
secondary
#D8F3DA
accent
#D51910
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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