#EF8AFB#EF8AFB

#EF8AFB is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.0% C 0.186 H 323.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#EF8AFB
RGBrgb(239, 138, 251)
HSLhsl(294, 93%, 76%)
HSVhsv(294, 45%, 98%)
CMYKcmyk(4.8%, 45%, 0%, 1.6%)
CIE-LABlab(71.89, 55.02, -40.49)
CIE-LCHlch(71.89, 68.31, 323.65°)
OKLaboklab(78.03% 0.1488 -0.1114)
OKLCHoklch(78.03% 0.186 323.2)
XYZxyz(62.0959, 43.4954, 96.3726)
Luminance0.4349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AFB #96FB8A
analogous
#B78AFB #EF8AFB #FB8ACF
triadic
#EF8AFB #FBEF8A #8AFBEF
tetradic
#EF8AFB #FBB78A #96FB8A #8ACFFB
square
#EF8AFB #FBB78A #96FB8A #8ACFFB
split-complementary
#EF8AFB #CFFB8A #8AFBB7
monochromatic
#DF14F7 #E74FF9 #EF8AFB #F7C5FD #FBE1FE

Accessibility & contrast

On white

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

On black

9.70
#EF8AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AFB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AFB#FFFFFF#000000##000000
##EF8AFB1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#F297B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8afb;
/* rgb */ color: rgb(239, 138, 251);
/* oklch */ color: oklch(78.0% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#f6affd',
    500: '#ef8afb',
    950: '#000000',
  },
}
SCSS
$custom: #ef8afb;
$custom-light: #f6affd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8afb",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 293.628,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78027,
    "c": 0.18587,
    "h": 323.2
  },
  "luminance": 0.43493
}

Semantic roles & 50–950 ramp

primary
#EF8AFB
secondary
#D8F6D5
accent
#E60018
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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