#EF87FF#EF87FF

#EF87FF is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.8% C 0.194 H 322.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#EF87FF
RGBrgb(239, 135, 255)
HSLhsl(292, 100%, 76%)
HSVhsv(292, 47%, 100%)
CMYKcmyk(6.3%, 47.1%, 0%, 0%)
CIE-LABlab(71.49, 57.25, -43.30)
CIE-LCHlch(71.49, 71.78, 322.90°)
OKLaboklab(77.78% 0.1535 -0.1194)
OKLCHoklch(77.78% 0.194 322.1)
XYZxyz(62.3086, 42.9013, 99.5870)
Luminance0.4290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87FF #97FF87
analogous
#B387FF #EF87FF #FF87D3
triadic
#EF87FF #FFEF87 #87FFEF
tetradic
#EF87FF #FFB387 #97FF87 #87D3FF
square
#EF87FF #FFB387 #97FF87 #87D3FF
split-complementary
#EF87FF #D3FF87 #87FFB3
monochromatic
#DF0DFF #E74AFF #EF87FF #F7C4FF #FBE0FF

Accessibility & contrast

On white

2.19
#EF87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#EF87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87FF
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87FF#FFFFFF#000000##000000
##EF87FF1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#F296B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef87ff;
/* rgb */ color: rgb(239, 135, 255);
/* oklch */ color: oklch(77.8% 0.194 322.1);
Tailwind
colors: {
  custom: {
    50: '#f6adff',
    500: '#ef87ff',
    950: '#000000',
  },
}
SCSS
$custom: #ef87ff;
$custom-light: #f6adff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87ff",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 292,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77784,
    "c": 0.19449,
    "h": 322.1
  },
  "luminance": 0.42899
}

Semantic roles & 50–950 ramp

primary
#EF87FF
secondary
#D8F7D4
accent
#E6001F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EF87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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