#ED87FB#ED87FB

#ED87FB is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.4% C 0.190 H 322.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#ED87FB
RGBrgb(237, 135, 251)
HSLhsl(293, 94%, 76%)
HSVhsv(293, 46%, 98%)
CMYKcmyk(5.6%, 46.2%, 0%, 1.6%)
CIE-LABlab(71.08, 55.95, -41.78)
CIE-LCHlch(71.08, 69.83, 323.25°)
OKLaboklab(77.37% 0.1507 -0.1151)
OKLCHoklch(77.37% 0.19 322.6)
XYZxyz(60.9998, 42.3001, 96.1997)
Luminance0.4230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87FB #95FB87
analogous
#B387FB #ED87FB #FB87CF
triadic
#ED87FB #FBED87 #87FBED
tetradic
#ED87FB #FBB387 #95FB87 #87CFFB
square
#ED87FB #FBB387 #95FB87 #87CFFB
split-complementary
#ED87FB #CFFB87 #87FBB3
monochromatic
#DB11F7 #E44CF9 #ED87FB #F6C2FD #FBE1FE

Accessibility & contrast

On white

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

On black

9.46
#ED87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87FB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87FB#FFFFFF#000000##000000
##ED87FB1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FF
Deuteranopia (green-blind)
#95B2F8
Tritanopia (blue-blind)
#F095B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ed87fb;
/* rgb */ color: rgb(237, 135, 251);
/* oklch */ color: oklch(77.4% 0.190 322.6);
Tailwind
colors: {
  custom: {
    50: '#f5adfd',
    500: '#ed87fb',
    950: '#000000',
  },
}
SCSS
$custom: #ed87fb;
$custom-light: #f5adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87fb",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 292.759,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77372,
    "c": 0.18959,
    "h": 322.6
  },
  "luminance": 0.42298
}

Semantic roles & 50–950 ramp

primary
#ED87FB
secondary
#D9F6D5
accent
#E6001C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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