#EF87F6#EF87F6

#EF87F6 is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.4% C 0.186 H 324.9°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#EF87F6
RGBrgb(239, 135, 246)
HSLhsl(296, 86%, 75%)
HSVhsv(296, 45%, 96%)
CMYKcmyk(2.8%, 45.1%, 0%, 3.5%)
CIE-LABlab(71.10, 55.60, -38.99)
CIE-LCHlch(71.10, 67.91, 324.96°)
OKLaboklab(77.37% 0.1521 -0.1071)
OKLCHoklch(77.37% 0.186 324.9)
XYZxyz(60.8937, 42.3353, 92.1349)
Luminance0.4233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F6 #8EF687
analogous
#B787F6 #EF87F6 #F687C6
triadic
#EF87F6 #F6EF87 #87F6EF
tetradic
#EF87F6 #F6B787 #8EF687 #87C6F6
square
#EF87F6 #F6B787 #8EF687 #87C6F6
split-complementary
#EF87F6 #C6F687 #87F6B7
monochromatic
#E015ED #E74EF2 #EF87F6 #F7C0FA #FBE3FD

Accessibility & contrast

On white

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

On black

9.47
#EF87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F6
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F6#FFFFFF#000000##000000
##EF87F61.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6FA
Deuteranopia (green-blind)
#98B3F3
Tritanopia (blue-blind)
#F393B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f6;
/* rgb */ color: rgb(239, 135, 246);
/* oklch */ color: oklch(77.4% 0.186 324.9);
Tailwind
colors: {
  custom: {
    50: '#f6adf9',
    500: '#ef87f6',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f6;
$custom-light: #f6adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f6",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 296.216,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77371,
    "c": 0.18599,
    "h": 324.9
  },
  "luminance": 0.42332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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