#EF8AFE#EF8AFE

#EF8AFE is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.2% C 0.189 H 322.3°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#EF8AFE
RGBrgb(239, 138, 254)
HSLhsl(292, 98%, 77%)
HSVhsv(292, 46%, 100%)
CMYKcmyk(5.9%, 45.7%, 0%, 0.4%)
CIE-LABlab(72.02, 55.57, -41.92)
CIE-LCHlch(72.02, 69.61, 322.97°)
OKLaboklab(78.16% 0.1493 -0.1155)
OKLCHoklch(78.16% 0.189 322.3)
XYZxyz(62.5725, 43.6860, 98.8829)
Luminance0.4368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AFE #99FE8A
analogous
#B58AFE #EF8AFE #FE8AD3
triadic
#EF8AFE #FEEF8A #8AFEEF
tetradic
#EF8AFE #FEB58A #99FE8A #8AD3FE
square
#EF8AFE #FEB58A #99FE8A #8AD3FE
split-complementary
#EF8AFE #D3FE8A #8AFEB5
monochromatic
#DE11FD #E74DFD #EF8AFE #F7C7FF #FBE1FF

Accessibility & contrast

On white

2.16
#EF8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#EF8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AFE
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AFE#FFFFFF#000000##000000
##EF8AFE1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#97B5FB
Tritanopia (blue-blind)
#F298B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8afe;
/* rgb */ color: rgb(239, 138, 254);
/* oklch */ color: oklch(78.2% 0.189 322.3);
Tailwind
colors: {
  custom: {
    50: '#f6afff',
    500: '#ef8afe',
    950: '#000000',
  },
}
SCSS
$custom: #ef8afe;
$custom-light: #f6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8afe",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 292.241,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78164,
    "c": 0.18875,
    "h": 322.3
  },
  "luminance": 0.43683
}

Semantic roles & 50–950 ramp

primary
#EF8AFE
secondary
#D8F7D4
accent
#E6001E
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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