#EF87F4#EF87F4

#EF87F4 is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.3% C 0.184 H 325.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#EF87F4
RGBrgb(239, 135, 244)
HSLhsl(297, 83%, 74%)
HSVhsv(297, 45%, 96%)
CMYKcmyk(2%, 44.7%, 0%, 4.3%)
CIE-LABlab(71.02, 55.24, -38.03)
CIE-LCHlch(71.02, 67.07, 325.45°)
OKLaboklab(77.28% 0.1517 -0.1043)
OKLCHoklch(77.28% 0.184 325.5)
XYZxyz(60.5883, 42.2132, 90.5269)
Luminance0.4221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F4 #8CF487
analogous
#B987F4 #EF87F4 #F487C3
triadic
#EF87F4 #F4EF87 #87F4EF
tetradic
#EF87F4 #F4B987 #8CF487 #87C3F4
square
#EF87F4 #F4B987 #8CF487 #87C3F4
split-complementary
#EF87F4 #C3F487 #87F4B9
monochromatic
#E017EA #E84FEF #EF87F4 #F6BFF9 #FBE3FC

Accessibility & contrast

On white

2.22
#EF87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#EF87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F4
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F4#FFFFFF#000000##000000
##EF87F41.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F8
Deuteranopia (green-blind)
#99B2F1
Tritanopia (blue-blind)
#F493B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f4;
/* rgb */ color: rgb(239, 135, 244);
/* oklch */ color: oklch(77.3% 0.184 325.5);
Tailwind
colors: {
  custom: {
    50: '#f6adf8',
    500: '#ef87f4',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f4;
$custom-light: #f6adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f4",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 297.248,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77281,
    "c": 0.18413,
    "h": 325.5
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#EF87F4
secondary
#D8F4D7
accent
#E00610
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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