#EF87E2#EF87E2

#EF87E2 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.5% C 0.168 H 331.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#EF87E2
RGBrgb(239, 135, 226)
HSLhsl(308, 76%, 73%)
HSVhsv(308, 44%, 94%)
CMYKcmyk(0%, 43.5%, 5.4%, 6.3%)
CIE-LABlab(70.30, 52.10, -29.27)
CIE-LCHlch(70.30, 59.76, 330.67°)
OKLaboklab(76.51% 0.1482 -0.0794)
OKLCHoklch(76.51% 0.168 331.8)
XYZxyz(57.9876, 41.1729, 76.8296)
Luminance0.4117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87E2 #87EF94
analogous
#C887EF #EF87E2 #EF87AE
triadic
#EF87E2 #E2EF87 #87E2EF
tetradic
#EF87E2 #EFC887 #87EF94 #87AEEF
square
#EF87E2 #EFC887 #87EF94 #87AEEF
split-complementary
#EF87E2 #AEEF87 #87EFC8
monochromatic
#DE1EC6 #E851D5 #EF87E2 #F6BDEF #FBE4F8

Accessibility & contrast

On white

2.27
#EF87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#EF87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87E2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87E2#FFFFFF#000000##000000
##EF87E21.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A3E5
Deuteranopia (green-blind)
#A0B1DF
Tritanopia (blue-blind)
#F78EAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ef87e2;
/* rgb */ color: rgb(239, 135, 226);
/* oklch */ color: oklch(76.5% 0.168 331.8);
Tailwind
colors: {
  custom: {
    50: '#f6adeb',
    500: '#ef87e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef87e2;
$custom-light: #f6adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87e2",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 307.5,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.16809,
    "h": 331.8
  },
  "luminance": 0.4117
}

Semantic roles & 50–950 ramp

primary
#EF87E2
secondary
#D8F3DB
accent
#D9260D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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