#EF87F8#EF87F8

#EF87F8 is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.5% C 0.188 H 324.2°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#EF87F8
RGBrgb(239, 135, 248)
HSLhsl(295, 89%, 75%)
HSVhsv(295, 46%, 97%)
CMYKcmyk(3.6%, 45.6%, 0%, 2.7%)
CIE-LABlab(71.19, 55.96, -39.95)
CIE-LCHlch(71.19, 68.76, 324.47°)
OKLaboklab(77.46% 0.1524 -0.1098)
OKLCHoklch(77.46% 0.188 324.2)
XYZxyz(61.2023, 42.4588, 93.7603)
Luminance0.4246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F8 #90F887
analogous
#B687F8 #EF87F8 #F887C9
triadic
#EF87F8 #F8EF87 #87F8EF
tetradic
#EF87F8 #F8B687 #90F887 #87C9F8
square
#EF87F8 #F8B687 #90F887 #87C9F8
split-complementary
#EF87F8 #C9F887 #87F8B6
monochromatic
#E013F1 #E74DF5 #EF87F8 #F7C1FB #FBE2FD

Accessibility & contrast

On white

2.21
#EF87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#EF87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F8
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F8#FFFFFF#000000##000000
##EF87F81.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#97B3F5
Tritanopia (blue-blind)
#F394B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f8;
/* rgb */ color: rgb(239, 135, 248);
/* oklch */ color: oklch(77.5% 0.188 324.2);
Tailwind
colors: {
  custom: {
    50: '#f6adfb',
    500: '#ef87f8',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f8;
$custom-light: #f6adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f8",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 295.221,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77461,
    "c": 0.18785,
    "h": 324.2
  },
  "luminance": 0.42456
}

Semantic roles & 50–950 ramp

primary
#EF87F8
secondary
#D8F5D6
accent
#E60012
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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