#EF98EC#EF98EC

#EF98EC is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.5% C 0.148 H 328.1°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#EF98EC
RGBrgb(239, 152, 236)
HSLhsl(302, 73%, 77%)
HSVhsv(302, 36%, 94%)
CMYKcmyk(0%, 36.4%, 1.3%, 6.3%)
CIE-LABlab(74.10, 45.17, -28.89)
CIE-LCHlch(74.10, 53.62, 327.40°)
OKLaboklab(79.49% 0.1259 -0.0785)
OKLCHoklch(79.49% 0.148 328.1)
XYZxyz(61.9640, 46.8660, 85.1227)
Luminance0.4686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98EC #98EF9B
analogous
#C798EF #EF98EC #EF98C1
triadic
#EF98EC #ECEF98 #98ECEF
tetradic
#EF98EC #EFC798 #98EF9B #98C1EF
square
#EF98EC #EFC798 #98EF9B #98C1EF
split-complementary
#EF98EC #C1EF98 #98EFC7
monochromatic
#DF2ED8 #E763E2 #EF98EC #F7CDF6 #FBE5FA

Accessibility & contrast

On white

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

On black

10.37
#EF98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98EC
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98EC#FFFFFF#000000##000000
##EF98EC1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef98ec;
/* rgb */ color: rgb(239, 152, 236);
/* oklch */ color: oklch(79.5% 0.148 328.1);
Tailwind
colors: {
  custom: {
    50: '#f5b8f2',
    500: '#ef98ec',
    950: '#000000',
  },
}
SCSS
$custom: #ef98ec;
$custom-light: #f5b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98ec",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 302.069,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79489,
    "c": 0.14836,
    "h": 328.1
  },
  "luminance": 0.46863
}

Semantic roles & 50–950 ramp

primary
#EF98EC
secondary
#D8F3D9
accent
#D51710
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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