#EF87FB#EF87FB

#EF87FB is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.6% C 0.191 H 323.3°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#EF87FB
RGBrgb(239, 135, 251)
HSLhsl(294, 94%, 76%)
HSVhsv(294, 46%, 98%)
CMYKcmyk(4.8%, 46.2%, 0%, 1.6%)
CIE-LABlab(71.31, 56.51, -41.39)
CIE-LCHlch(71.31, 70.05, 323.78°)
OKLaboklab(77.6% 0.1529 -0.1139)
OKLCHoklch(77.6% 0.191 323.3)
XYZxyz(61.6714, 42.6464, 96.2311)
Luminance0.4264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87FB #93FB87
analogous
#B587FB #EF87FB #FB87CD
triadic
#EF87FB #FBEF87 #87FBEF
tetradic
#EF87FB #FBB587 #93FB87 #87CDFB
square
#EF87FB #FBB587 #93FB87 #87CDFB
split-complementary
#EF87FB #CDFB87 #87FBB5
monochromatic
#DF11F7 #E74CF9 #EF87FB #F7C2FD #FBE1FE

Accessibility & contrast

On white

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

On black

9.53
#EF87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87FB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87FB#FFFFFF#000000##000000
##EF87FB1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef87fb;
/* rgb */ color: rgb(239, 135, 251);
/* oklch */ color: oklch(77.6% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#f6adfd',
    500: '#ef87fb',
    950: '#000000',
  },
}
SCSS
$custom: #ef87fb;
$custom-light: #f6adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87fb",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 293.793,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77599,
    "c": 0.19068,
    "h": 323.3
  },
  "luminance": 0.42644
}

Semantic roles & 50–950 ramp

primary
#EF87FB
secondary
#D8F6D5
accent
#E60018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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