#EF8AF9#EF8AF9

#EF8AF9 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.9% C 0.184 H 323.8°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#EF8AF9
RGBrgb(239, 138, 249)
HSLhsl(295, 90%, 76%)
HSVhsv(295, 45%, 98%)
CMYKcmyk(4%, 44.6%, 0%, 2.4%)
CIE-LABlab(71.81, 54.65, -39.53)
CIE-LCHlch(71.81, 67.45, 324.12°)
OKLaboklab(77.94% 0.1485 -0.1086)
OKLCHoklch(77.94% 0.184 323.8)
XYZxyz(61.7823, 43.3699, 94.7210)
Luminance0.4337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AF9 #94F98A
analogous
#B78AF9 #EF8AF9 #F98ACB
triadic
#EF8AF9 #F9EF8A #8AF9EF
tetradic
#EF8AF9 #F9B78A #94F98A #8ACBF9
square
#EF8AF9 #F9B78A #94F98A #8ACBF9
split-complementary
#EF8AF9 #CBF98A #8AF9B7
monochromatic
#DF16F3 #E750F6 #EF8AF9 #F7C4FC #FBE2FE

Accessibility & contrast

On white

2.17
#EF8AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#EF8AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AF9
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AF9#FFFFFF#000000##000000
##EF8AF91.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#99B4F6
Tritanopia (blue-blind)
#F397B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8af9;
/* rgb */ color: rgb(239, 138, 249);
/* oklch */ color: oklch(77.9% 0.184 323.8);
Tailwind
colors: {
  custom: {
    50: '#f6affb',
    500: '#ef8af9',
    950: '#000000',
  },
}
SCSS
$custom: #ef8af9;
$custom-light: #f6affb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8af9",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 294.595,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77936,
    "c": 0.18396,
    "h": 323.8
  },
  "luminance": 0.43367
}

Semantic roles & 50–950 ramp

primary
#EF8AF9
secondary
#D8F6D5
accent
#E60015
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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