#ED87DF#ED87DF

#ED87DF is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.1% C 0.164 H 332.3°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#ED87DF
RGBrgb(237, 135, 223)
HSLhsl(308, 74%, 73%)
HSVhsv(308, 43%, 93%)
CMYKcmyk(0%, 43%, 5.9%, 7.1%)
CIE-LABlab(69.94, 50.99, -28.18)
CIE-LCHlch(69.94, 58.26, 331.07°)
OKLaboklab(76.15% 0.1453 -0.0764)
OKLCHoklch(76.15% 0.164 332.3)
XYZxyz(56.9079, 40.6634, 74.6491)
Luminance0.4066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87DF #87ED95
analogous
#C887ED #ED87DF #ED87AC
triadic
#ED87DF #DFED87 #87DFED
tetradic
#ED87DF #EDC887 #87ED95 #87ACED
square
#ED87DF #EDC887 #87ED95 #87ACED
split-complementary
#ED87DF #ACED87 #87EDC8
monochromatic
#D921C0 #E552D1 #ED87DF #F5BCED #FBE4F8

Accessibility & contrast

On white

2.30
#ED87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#ED87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87DF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87DF#FFFFFF#000000##000000
##ED87DF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E2
Deuteranopia (green-blind)
#A0B0DC
Tritanopia (blue-blind)
#F58DA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ed87df;
/* rgb */ color: rgb(237, 135, 223);
/* oklch */ color: oklch(76.1% 0.164 332.3);
Tailwind
colors: {
  custom: {
    50: '#f5ace9',
    500: '#ed87df',
    950: '#000000',
  },
}
SCSS
$custom: #ed87df;
$custom-light: #f5ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87df",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 308.235,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.16414,
    "h": 332.3
  },
  "luminance": 0.4066
}

Semantic roles & 50–950 ramp

primary
#ED87DF
secondary
#D8F3DC
accent
#D62B0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #ED87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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