#EF87F0#EF87F0

#EF87F0 is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.1% C 0.180 H 326.8°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#EF87F0
RGBrgb(239, 135, 240)
HSLhsl(299, 78%, 74%)
HSVhsv(299, 44%, 94%)
CMYKcmyk(0.4%, 43.8%, 0%, 5.9%)
CIE-LABlab(70.85, 54.53, -36.10)
CIE-LCHlch(70.85, 65.39, 326.49°)
OKLaboklab(77.1% 0.151 -0.0988)
OKLCHoklch(77.1% 0.18 326.8)
XYZxyz(59.9876, 41.9729, 87.3630)
Luminance0.4197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F0 #88F087
analogous
#BA87F0 #EF87F0 #F087BC
triadic
#EF87F0 #F0EF87 #87F0EF
tetradic
#EF87F0 #F0BA87 #88F087 #87BCF0
square
#EF87F0 #F0BA87 #88F087 #87BCF0
split-complementary
#EF87F0 #BCF087 #87F0BA
monochromatic
#DF1CE1 #E851E9 #EF87F0 #F6BDF7 #FBE4FC

Accessibility & contrast

On white

2.24
#EF87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#EF87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F0
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F0#FFFFFF#000000##000000
##EF87F01.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F4
Deuteranopia (green-blind)
#9BB2ED
Tritanopia (blue-blind)
#F592B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef87f0;
/* rgb */ color: rgb(239, 135, 240);
/* oklch */ color: oklch(77.1% 0.180 326.8);
Tailwind
colors: {
  custom: {
    50: '#f6adf5',
    500: '#ef87f0',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f0;
$custom-light: #f6adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f0",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 299.429,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77103,
    "c": 0.18045,
    "h": 326.8
  },
  "luminance": 0.4197
}

Semantic roles & 50–950 ramp

primary
#EF87F0
secondary
#D8F3D8
accent
#DA0B0D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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