#EF98F2#EF98F2

#EF98F2 is a light, vivid purple. Relative luminance 0.472; OKLCH L 79.7% C 0.154 H 325.7°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#EF98F2
RGBrgb(239, 152, 242)
HSLhsl(298, 78%, 77%)
HSVhsv(298, 37%, 95%)
CMYKcmyk(1.2%, 37.2%, 0%, 5.1%)
CIE-LABlab(74.33, 46.25, -31.81)
CIE-LCHlch(74.33, 56.13, 325.48°)
OKLaboklab(79.73% 0.1273 -0.0867)
OKLCHoklch(79.73% 0.154 325.7)
XYZxyz(62.8504, 47.2206, 89.7910)
Luminance0.4722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98F2 #9BF298
analogous
#C298F2 #EF98F2 #F298C8
triadic
#EF98F2 #F2EF98 #98F2EF
tetradic
#EF98F2 #F2C298 #9BF298 #98C8F2
square
#EF98F2 #F2C298 #9BF298 #98C8F2
split-complementary
#EF98F2 #C8F298 #98F2C2
monochromatic
#DE2BE4 #E762EB #EF98F2 #F7CEF9 #FBE4FC

Accessibility & contrast

On white

2.01
#EF98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#EF98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98F2
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98F2#FFFFFF#000000##000000
##EF98F21.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#A7BBEF
Tritanopia (blue-blind)
#F4A1BA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ef98f2;
/* rgb */ color: rgb(239, 152, 242);
/* oklch */ color: oklch(79.7% 0.154 325.7);
Tailwind
colors: {
  custom: {
    50: '#f5b8f6',
    500: '#ef98f2',
    950: '#000000',
  },
}
SCSS
$custom: #ef98f2;
$custom-light: #f5b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98f2",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 298,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79734,
    "c": 0.15404,
    "h": 325.7
  },
  "luminance": 0.47218
}

Semantic roles & 50–950 ramp

primary
#EF98F2
secondary
#D9F3D8
accent
#DA0C13
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EF98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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