#EF9EFE#EF9EFE

#EF9EFE is a light, vivid purple. Relative luminance 0.500; OKLCH L 81.2% C 0.156 H 321.2°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#EF9EFE
RGBrgb(239, 158, 254)
HSLhsl(291, 98%, 81%)
HSVhsv(291, 38%, 100%)
CMYKcmyk(5.9%, 37.8%, 0%, 0.4%)
CIE-LABlab(76.05, 45.36, -35.66)
CIE-LCHlch(76.05, 57.70, 321.83°)
OKLaboklab(81.18% 0.1214 -0.0977)
OKLCHoklch(81.18% 0.156 321.2)
XYZxyz(65.7107, 49.9624, 99.9290)
Luminance0.4996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF9EFE #ADFE9E
analogous
#BF9EFE #EF9EFE #FE9EDD
triadic
#EF9EFE #FEEF9E #9EFEEF
tetradic
#EF9EFE #FEBF9E #ADFE9E #9EDDFE
square
#EF9EFE #FEBF9E #ADFE9E #9EDDFE
split-complementary
#EF9EFE #DDFE9E #9EFEBF
monochromatic
#DB25FD #E561FD #EF9EFE #F9DBFF #FAE1FF

Accessibility & contrast

On white

1.91
#EF9EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#EF9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF9EFE
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF9EFE#FFFFFF#000000##000000
##EF9EFE1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#A7BFFB
Tritanopia (blue-blind)
#F1A9C2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ef9efe;
/* rgb */ color: rgb(239, 158, 254);
/* oklch */ color: oklch(81.2% 0.156 321.2);
Tailwind
colors: {
  custom: {
    50: '#f5bcff',
    500: '#ef9efe',
    950: '#000000',
  },
}
SCSS
$custom: #ef9efe;
$custom-light: #f5bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef9efe",
  "rgb": {
    "r": 239,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 290.625,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.81179,
    "c": 0.15581,
    "h": 321.2
  },
  "luminance": 0.4996
}

Semantic roles & 50–950 ramp

primary
#EF9EFE
secondary
#D9F7D4
accent
#E60024
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EF9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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