#EF87F2#EF87F2

#EF87F2 is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.2% C 0.182 H 326.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#EF87F2
RGBrgb(239, 135, 242)
HSLhsl(298, 80%, 74%)
HSVhsv(298, 44%, 95%)
CMYKcmyk(1.2%, 44.2%, 0%, 5.1%)
CIE-LABlab(70.93, 54.88, -37.07)
CIE-LCHlch(70.93, 66.23, 325.96°)
OKLaboklab(77.19% 0.1514 -0.1015)
OKLCHoklch(77.19% 0.182 326.1)
XYZxyz(60.2863, 42.0924, 88.9363)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F2 #8AF287
analogous
#BA87F2 #EF87F2 #F287C0
triadic
#EF87F2 #F2EF87 #87F2EF
tetradic
#EF87F2 #F2BA87 #8AF287 #87C0F2
square
#EF87F2 #F2BA87 #8AF287 #87C0F2
split-complementary
#EF87F2 #C0F287 #87F2BA
monochromatic
#E019E6 #E850EC #EF87F2 #F6BEF8 #FBE3FC

Accessibility & contrast

On white

2.23
#EF87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#EF87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F2
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F2#FFFFFF#000000##000000
##EF87F21.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#F492B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f2;
/* rgb */ color: rgb(239, 135, 242);
/* oklch */ color: oklch(77.2% 0.182 326.1);
Tailwind
colors: {
  custom: {
    50: '#f6adf6',
    500: '#ef87f2',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f2;
$custom-light: #f6adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f2",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 298.318,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77192,
    "c": 0.18229,
    "h": 326.1
  },
  "luminance": 0.42089
}

Semantic roles & 50–950 ramp

primary
#EF87F2
secondary
#D8F4D7
accent
#DD090F
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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