#EF87EE#EF87EE

#EF87EE is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.0% C 0.179 H 327.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EF87EE
RGBrgb(239, 135, 238)
HSLhsl(301, 76%, 73%)
HSVhsv(301, 44%, 94%)
CMYKcmyk(0%, 43.5%, 0.4%, 6.3%)
CIE-LABlab(70.77, 54.17, -35.13)
CIE-LCHlch(70.77, 64.57, 327.04°)
OKLaboklab(77.02% 0.1506 -0.096)
OKLCHoklch(77.02% 0.179 327.5)
XYZxyz(59.6921, 41.8547, 85.8069)
Luminance0.4185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87EE #87EF88
analogous
#BC87EF #EF87EE #EF87BA
triadic
#EF87EE #EEEF87 #87EEEF
tetradic
#EF87EE #EFBC87 #87EF88 #87BAEF
square
#EF87EE #EFBC87 #87EF88 #87BAEF
split-complementary
#EF87EE #BAEF87 #87EFBC
monochromatic
#DE1EDC #E851E6 #EF87EE #F6BDF6 #FBE4FB

Accessibility & contrast

On white

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

On black

9.37
#EF87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87EE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87EE#FFFFFF#000000##000000
##EF87EE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#9CB2EB
Tritanopia (blue-blind)
#F591B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef87ee;
/* rgb */ color: rgb(239, 135, 238);
/* oklch */ color: oklch(77.0% 0.179 327.5);
Tailwind
colors: {
  custom: {
    50: '#f6adf4',
    500: '#ef87ee',
    950: '#000000',
  },
}
SCSS
$custom: #ef87ee;
$custom-light: #f6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87ee",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 300.577,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.17864,
    "h": 327.5
  },
  "luminance": 0.41852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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