#EF87F9#EF87F9

#EF87F9 is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.5% C 0.189 H 323.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#EF87F9
RGBrgb(239, 135, 249)
HSLhsl(295, 90%, 75%)
HSVhsv(295, 46%, 98%)
CMYKcmyk(4%, 45.8%, 0%, 2.4%)
CIE-LABlab(71.23, 56.14, -40.43)
CIE-LCHlch(71.23, 69.19, 324.24°)
OKLaboklab(77.51% 0.1526 -0.1112)
OKLCHoklch(77.51% 0.189 323.9)
XYZxyz(61.3578, 42.5210, 94.5795)
Luminance0.4252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87F9 #91F987
analogous
#B687F9 #EF87F9 #F987CA
triadic
#EF87F9 #F9EF87 #87F9EF
tetradic
#EF87F9 #F9B687 #91F987 #87CAF9
square
#EF87F9 #F9B687 #91F987 #87CAF9
split-complementary
#EF87F9 #CAF987 #87F9B6
monochromatic
#DF12F3 #E74DF6 #EF87F9 #F7C1FC #FBE2FE

Accessibility & contrast

On white

2.21
#EF87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#EF87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87F9
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87F9#FFFFFF#000000##000000
##EF87F91.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#97B3F6
Tritanopia (blue-blind)
#F394B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef87f9;
/* rgb */ color: rgb(239, 135, 249);
/* oklch */ color: oklch(77.5% 0.189 323.9);
Tailwind
colors: {
  custom: {
    50: '#f6adfb',
    500: '#ef87f9',
    950: '#000000',
  },
}
SCSS
$custom: #ef87f9;
$custom-light: #f6adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87f9",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 294.737,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77507,
    "c": 0.1888,
    "h": 323.9
  },
  "luminance": 0.42518
}

Semantic roles & 50–950 ramp

primary
#EF87F9
secondary
#D8F6D5
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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