#EF87EF#EF87EF

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

Color values

HEX#EF87EF
RGBrgb(239, 135, 239)
HSLhsl(300, 76%, 73%)
HSVhsv(300, 44%, 94%)
CMYKcmyk(0%, 43.5%, 0%, 6.3%)
CIE-LABlab(70.81, 54.35, -35.62)
CIE-LCHlch(70.81, 64.98, 326.76°)
OKLaboklab(77.06% 0.1508 -0.0974)
OKLCHoklch(77.06% 0.18 327.1)
XYZxyz(59.8395, 41.9136, 86.5828)
Luminance0.4191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87EF #87EF87
analogous
#BB87EF #EF87EF #EF87BB
triadic
#EF87EF #EFEF87 #87EFEF
tetradic
#EF87EF #EFBB87 #87EF87 #87BBEF
square
#EF87EF #EFBB87 #87EF87 #87BBEF
split-complementary
#EF87EF #BBEF87 #87EFBB
monochromatic
#DE1EDE #E851E8 #EF87EF #F6BDF6 #FBE4FB

Accessibility & contrast

On white

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

On black

9.38
#EF87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87EF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87EF#FFFFFF#000000##000000
##EF87EF1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef87ef;
/* rgb */ color: rgb(239, 135, 239);
/* oklch */ color: oklch(77.1% 0.180 327.1);
Tailwind
colors: {
  custom: {
    50: '#f6adf4',
    500: '#ef87ef',
    950: '#000000',
  },
}
SCSS
$custom: #ef87ef;
$custom-light: #f6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87ef",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77059,
    "c": 0.17954,
    "h": 327.1
  },
  "luminance": 0.41911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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