#EF8AFF#EF8AFF

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

Color values

HEX#EF8AFF
RGBrgb(239, 138, 255)
HSLhsl(292, 100%, 77%)
HSVhsv(292, 46%, 100%)
CMYKcmyk(6.3%, 45.9%, 0%, 0%)
CIE-LABlab(72.06, 55.76, -42.40)
CIE-LCHlch(72.06, 70.05, 322.75°)
OKLaboklab(78.21% 0.1495 -0.1169)
OKLCHoklch(78.21% 0.19 322)
XYZxyz(62.7331, 43.7503, 99.7285)
Luminance0.4375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8AFF #9AFF8A
analogous
#B58AFF #EF8AFF #FF8AD5
triadic
#EF8AFF #FFEF8A #8AFFEF
tetradic
#EF8AFF #FFB58A #9AFF8A #8AD5FF
square
#EF8AFF #FFB58A #9AFF8A #8AD5FF
split-complementary
#EF8AFF #D5FF8A #8AFFB5
monochromatic
#DE10FF #E74DFF #EF8AFF #F7C7FF #FBE0FF

Accessibility & contrast

On white

2.15
#EF8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#EF8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8AFF
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8AFF#FFFFFF#000000##000000
##EF8AFF1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#F299B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8aff;
/* rgb */ color: rgb(239, 138, 255);
/* oklch */ color: oklch(78.2% 0.190 322.0);
Tailwind
colors: {
  custom: {
    50: '#f6afff',
    500: '#ef8aff',
    950: '#000000',
  },
}
SCSS
$custom: #ef8aff;
$custom-light: #f6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8aff",
  "rgb": {
    "r": 239,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 291.795,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7821,
    "c": 0.18971,
    "h": 322
  },
  "luminance": 0.43748
}

Semantic roles & 50–950 ramp

primary
#EF8AFF
secondary
#D9F7D4
accent
#E6001F
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EF8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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