#EF87EA#EF87EA

#EF87EA is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.8% C 0.175 H 328.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#EF87EA
RGBrgb(239, 135, 234)
HSLhsl(303, 76%, 73%)
HSVhsv(303, 44%, 94%)
CMYKcmyk(0%, 43.5%, 2.1%, 6.3%)
CIE-LABlab(70.61, 53.47, -33.19)
CIE-LCHlch(70.61, 62.93, 328.18°)
OKLaboklab(76.84% 0.1499 -0.0905)
OKLCHoklch(76.84% 0.175 328.9)
XYZxyz(59.1110, 41.6223, 82.7463)
Luminance0.4162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87EA #87EF8C
analogous
#C087EF #EF87EA #EF87B6
triadic
#EF87EA #EAEF87 #87EAEF
tetradic
#EF87EA #EFC087 #87EF8C #87B6EF
square
#EF87EA #EFC087 #87EF8C #87B6EF
split-complementary
#EF87EA #B6EF87 #87EFC0
monochromatic
#DE1ED5 #E851E1 #EF87EA #F6BDF3 #FBE4FA

Accessibility & contrast

On white

2.25
#EF87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#EF87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87EA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87EA#FFFFFF#000000##000000
##EF87EA1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#9DB2E7
Tritanopia (blue-blind)
#F690AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ef87ea;
/* rgb */ color: rgb(239, 135, 234);
/* oklch */ color: oklch(76.8% 0.175 328.9);
Tailwind
colors: {
  custom: {
    50: '#f6adf1',
    500: '#ef87ea',
    950: '#000000',
  },
}
SCSS
$custom: #ef87ea;
$custom-light: #f6adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87ea",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 302.885,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76843,
    "c": 0.17506,
    "h": 328.9
  },
  "luminance": 0.41619
}

Semantic roles & 50–950 ramp

primary
#EF87EA
secondary
#D8F3D9
accent
#D9170D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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