#EF87FC#EF87FC

#EF87FC is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.6% C 0.192 H 323.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#EF87FC
RGBrgb(239, 135, 252)
HSLhsl(293, 95%, 76%)
HSVhsv(293, 46%, 99%)
CMYKcmyk(5.2%, 46.4%, 0%, 1.2%)
CIE-LABlab(71.36, 56.69, -41.87)
CIE-LCHlch(71.36, 70.48, 323.55°)
OKLaboklab(77.65% 0.1531 -0.1153)
OKLCHoklch(77.65% 0.192 323)
XYZxyz(61.8295, 42.7096, 97.0635)
Luminance0.4271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87FC #94FC87
analogous
#B487FC #EF87FC #FC87CE
triadic
#EF87FC #FCEF87 #87FCEF
tetradic
#EF87FC #FCB487 #94FC87 #87CEFC
square
#EF87FC #FCB487 #94FC87 #87CEFC
split-complementary
#EF87FC #CEFC87 #87FCB4
monochromatic
#DF10F9 #E74BFB #EF87FC #F7C3FD #FBE1FE

Accessibility & contrast

On white

2.20
#EF87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#EF87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87FC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87FC#FFFFFF#000000##000000
##EF87FC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#F295B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef87fc;
/* rgb */ color: rgb(239, 135, 252);
/* oklch */ color: oklch(77.6% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#f6adfd',
    500: '#ef87fc',
    950: '#000000',
  },
}
SCSS
$custom: #ef87fc;
$custom-light: #f6adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87fc",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 293.333,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77645,
    "c": 0.19163,
    "h": 323
  },
  "luminance": 0.42707
}

Semantic roles & 50–950 ramp

primary
#EF87FC
secondary
#D8F6D5
accent
#E6001A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EF87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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