#EF9AFE#EF9AFE

#EF9AFE is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.6% C 0.163 H 321.4°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#EF9AFE
RGBrgb(239, 154, 254)
HSLhsl(291, 98%, 80%)
HSVhsv(291, 39%, 100%)
CMYKcmyk(5.9%, 39.4%, 0%, 0.4%)
CIE-LABlab(75.21, 47.44, -36.95)
CIE-LCHlch(75.21, 60.13, 322.09°)
OKLaboklab(80.55% 0.127 -0.1014)
OKLCHoklch(80.55% 0.163 321.4)
XYZxyz(65.0395, 48.6200, 99.7053)
Luminance0.4862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF9AFE #A9FE9A
analogous
#BD9AFE #EF9AFE #FE9ADB
triadic
#EF9AFE #FEEF9A #9AFEEF
tetradic
#EF9AFE #FEBD9A #A9FE9A #9ADBFE
square
#EF9AFE #FEBD9A #A9FE9A #9ADBFE
split-complementary
#EF9AFE #DBFE9A #9AFEBD
monochromatic
#DC21FD #E55DFD #EF9AFE #F9D7FF #FAE1FF

Accessibility & contrast

On white

1.96
#EF9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#EF9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF9AFE
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF9AFE#FFFFFF#000000##000000
##EF9AFE1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#A4BDFB
Tritanopia (blue-blind)
#F1A6C0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ef9afe;
/* rgb */ color: rgb(239, 154, 254);
/* oklch */ color: oklch(80.6% 0.163 321.4);
Tailwind
colors: {
  custom: {
    50: '#f6b9ff',
    500: '#ef9afe',
    950: '#000000',
  },
}
SCSS
$custom: #ef9afe;
$custom-light: #f6b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef9afe",
  "rgb": {
    "r": 239,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 291,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.80553,
    "c": 0.16251,
    "h": 321.4
  },
  "luminance": 0.48618
}

Semantic roles & 50–950 ramp

primary
#EF9AFE
secondary
#D9F7D4
accent
#E60022
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EF9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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