#EF87F1#EF87F1

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

Color values

HEX#EF87F1
RGBrgb(239, 135, 241)
HSLhsl(299, 79%, 74%)
HSVhsv(299, 44%, 95%)
CMYKcmyk(0.8%, 44%, 0%, 5.5%)
CIE-LABlab(70.89, 54.70, -36.58)
CIE-LCHlch(70.89, 65.81, 326.23°)
OKLaboklab(77.15% 0.1512 -0.1002)
OKLCHoklch(77.15% 0.181 326.5)
XYZxyz(60.1366, 42.0325, 88.1475)
Luminance0.4203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F1 #89F187
analogous
#BA87F1 #EF87F1 #F187BE
triadic
#EF87F1 #F1EF87 #87F1EF
tetradic
#EF87F1 #F1BA87 #89F187 #87BEF1
square
#EF87F1 #F1BA87 #89F187 #87BEF1
split-complementary
#EF87F1 #BEF187 #87F1BA
monochromatic
#DF1AE3 #E850EB #EF87F1 #F6BEF7 #FBE4FC

Accessibility & contrast

On white

2.23
#EF87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#EF87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F1
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F1#FFFFFF#000000##000000
##EF87F11.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#F492B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef87f1;
/* rgb */ color: rgb(239, 135, 241);
/* oklch */ color: oklch(77.1% 0.181 326.5);
Tailwind
colors: {
  custom: {
    50: '#f6adf6',
    500: '#ef87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f1;
$custom-light: #f6adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f1",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 298.868,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77147,
    "c": 0.18136,
    "h": 326.5
  },
  "luminance": 0.4203
}

Semantic roles & 50–950 ramp

primary
#EF87F1
secondary
#D8F4D7
accent
#DB0A0E
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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