#ED87FD#ED87FD

#ED87FD is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.5% C 0.192 H 322.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#ED87FD
RGBrgb(237, 135, 253)
HSLhsl(292, 97%, 76%)
HSVhsv(292, 47%, 99%)
CMYKcmyk(6.3%, 46.6%, 0%, 0.8%)
CIE-LABlab(71.16, 56.32, -42.73)
CIE-LCHlch(71.16, 70.70, 322.81°)
OKLaboklab(77.46% 0.151 -0.1178)
OKLCHoklch(77.46% 0.192 322)
XYZxyz(61.3167, 42.4269, 97.8688)
Luminance0.4242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87FD #97FD87
analogous
#B287FD #ED87FD #FD87D2
triadic
#ED87FD #FDED87 #87FDED
tetradic
#ED87FD #FDB287 #97FD87 #87D2FD
square
#ED87FD #FDB287 #97FD87 #87D2FD
split-complementary
#ED87FD #D2FD87 #87FDB2
monochromatic
#DB0FFB #E44BFC #ED87FD #F6C3FE #FAE1FE

Accessibility & contrast

On white

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

On black

9.48
#ED87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87FD
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87FD#FFFFFF#000000##000000
##ED87FD1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#94B2FA
Tritanopia (blue-blind)
#F096B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ed87fd;
/* rgb */ color: rgb(237, 135, 253);
/* oklch */ color: oklch(77.5% 0.192 322.0);
Tailwind
colors: {
  custom: {
    50: '#f5adfe',
    500: '#ed87fd',
    950: '#000000',
  },
}
SCSS
$custom: #ed87fd;
$custom-light: #f5adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87fd",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 291.864,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77465,
    "c": 0.19151,
    "h": 322
  },
  "luminance": 0.42424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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