#EF87E7#EF87E7

#EF87E7 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.172 H 329.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#EF87E7
RGBrgb(239, 135, 231)
HSLhsl(305, 76%, 73%)
HSVhsv(305, 44%, 94%)
CMYKcmyk(0%, 43.5%, 3.3%, 6.3%)
CIE-LABlab(70.49, 52.95, -31.72)
CIE-LCHlch(70.49, 61.73, 329.08°)
OKLaboklab(76.72% 0.1492 -0.0863)
OKLCHoklch(76.72% 0.172 329.9)
XYZxyz(58.6837, 41.4513, 80.4957)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87E7 #87EF8F
analogous
#C387EF #EF87E7 #EF87B3
triadic
#EF87E7 #E7EF87 #87E7EF
tetradic
#EF87E7 #EFC387 #87EF8F #87B3EF
square
#EF87E7 #EFC387 #87EF8F #87B3EF
split-complementary
#EF87E7 #B3EF87 #87EFC3
monochromatic
#DE1ECF #E851DC #EF87E7 #F6BDF2 #FBE4FA

Accessibility & contrast

On white

2.26
#EF87E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#EF87E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87E7
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87E7#FFFFFF#000000##000000
##EF87E71.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A3EA
Deuteranopia (green-blind)
#9EB2E4
Tritanopia (blue-blind)
#F68FAC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ef87e7;
/* rgb */ color: rgb(239, 135, 231);
/* oklch */ color: oklch(76.7% 0.172 329.9);
Tailwind
colors: {
  custom: {
    50: '#f6adef',
    500: '#ef87e7',
    950: '#000000',
  },
}
SCSS
$custom: #ef87e7;
$custom-light: #f6adef;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87e7",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 304.615,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76715,
    "c": 0.17242,
    "h": 329.9
  },
  "luminance": 0.41448
}

Semantic roles & 50–950 ramp

primary
#EF87E7
secondary
#D8F3DA
accent
#D91D0D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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