#EF98FE#EF98FE

#EF98FE is a light, vivid purple. Relative luminance 0.480; OKLCH L 80.2% C 0.166 H 321.5°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#EF98FE
RGBrgb(239, 152, 254)
HSLhsl(291, 98%, 80%)
HSVhsv(291, 40%, 100%)
CMYKcmyk(5.9%, 40.2%, 0%, 0.4%)
CIE-LABlab(74.80, 48.47, -37.59)
CIE-LCHlch(74.80, 61.34, 322.21°)
OKLaboklab(80.25% 0.1299 -0.1032)
OKLCHoklch(80.25% 0.166 321.5)
XYZxyz(64.7122, 47.9653, 99.5962)
Luminance0.4796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98FE #A7FE98
analogous
#BC98FE #EF98FE #FE98DA
triadic
#EF98FE #FEEF98 #98FEEF
tetradic
#EF98FE #FEBC98 #A7FE98 #98DAFE
square
#EF98FE #FEBC98 #A7FE98 #98DAFE
split-complementary
#EF98FE #DAFE98 #98FEBC
monochromatic
#DC1FFD #E65BFD #EF98FE #F8D5FF #FAE1FF

Accessibility & contrast

On white

1.98
#EF98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#EF98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98FE
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98FE#FFFFFF#000000##000000
##EF98FE1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#A2BCFB
Tritanopia (blue-blind)
#F1A4BF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ef98fe;
/* rgb */ color: rgb(239, 152, 254);
/* oklch */ color: oklch(80.2% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#f6b8ff',
    500: '#ef98fe',
    950: '#000000',
  },
}
SCSS
$custom: #ef98fe;
$custom-light: #f6b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98fe",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 291.176,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80245,
    "c": 0.16584,
    "h": 321.5
  },
  "luminance": 0.47963
}

Semantic roles & 50–950 ramp

primary
#EF98FE
secondary
#D9F7D4
accent
#E60022
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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