#EF87F7#EF87F7

#EF87F7 is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.4% C 0.187 H 324.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#EF87F7
RGBrgb(239, 135, 247)
HSLhsl(296, 88%, 75%)
HSVhsv(296, 45%, 97%)
CMYKcmyk(3.2%, 45.3%, 0%, 3.1%)
CIE-LABlab(71.14, 55.78, -39.47)
CIE-LCHlch(71.14, 68.34, 324.71°)
OKLaboklab(77.42% 0.1523 -0.1084)
OKLCHoklch(77.42% 0.187 324.5)
XYZxyz(61.0476, 42.3969, 92.9454)
Luminance0.4239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F7 #8FF787
analogous
#B787F7 #EF87F7 #F787C7
triadic
#EF87F7 #F7EF87 #87F7EF
tetradic
#EF87F7 #F7B787 #8FF787 #87C7F7
square
#EF87F7 #F7B787 #8FF787 #87C7F7
split-complementary
#EF87F7 #C7F787 #87F7B7
monochromatic
#E014EF #E74EF3 #EF87F7 #F7C0FB #FBE2FD

Accessibility & contrast

On white

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

On black

9.48
#EF87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F7
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F7#FFFFFF#000000##000000
##EF87F71.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#98B3F4
Tritanopia (blue-blind)
#F394B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f7;
/* rgb */ color: rgb(239, 135, 247);
/* oklch */ color: oklch(77.4% 0.187 324.5);
Tailwind
colors: {
  custom: {
    50: '#f6adfa',
    500: '#ef87f7',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f7;
$custom-light: #f6adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f7",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 295.714,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77416,
    "c": 0.18692,
    "h": 324.5
  },
  "luminance": 0.42394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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