#EF87F3#EF87F3

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

Color values

HEX#EF87F3
RGBrgb(239, 135, 243)
HSLhsl(298, 82%, 74%)
HSVhsv(298, 44%, 95%)
CMYKcmyk(1.6%, 44.4%, 0%, 4.7%)
CIE-LABlab(70.98, 55.06, -37.55)
CIE-LCHlch(70.98, 66.65, 325.71°)
OKLaboklab(77.24% 0.1516 -0.1029)
OKLCHoklch(77.24% 0.183 325.8)
XYZxyz(60.4369, 42.1526, 89.7295)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F3 #8BF387
analogous
#B987F3 #EF87F3 #F387C1
triadic
#EF87F3 #F3EF87 #87F3EF
tetradic
#EF87F3 #F3B987 #8BF387 #87C1F3
square
#EF87F3 #F3B987 #8BF387 #87C1F3
split-complementary
#EF87F3 #C1F387 #87F3B9
monochromatic
#E018E8 #E84FED #EF87F3 #F6BFF9 #FBE3FC

Accessibility & contrast

On white

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

On black

9.43
#EF87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F3
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F3#FFFFFF#000000##000000
##EF87F31.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F7
Deuteranopia (green-blind)
#9AB2F0
Tritanopia (blue-blind)
#F493B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f3;
/* rgb */ color: rgb(239, 135, 243);
/* oklch */ color: oklch(77.2% 0.183 325.8);
Tailwind
colors: {
  custom: {
    50: '#f6adf7',
    500: '#ef87f3',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f3;
$custom-light: #f6adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f3",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 297.778,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77236,
    "c": 0.1832,
    "h": 325.8
  },
  "luminance": 0.4215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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