#ED87EA#ED87EA

#ED87EA is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.6% C 0.174 H 328.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#ED87EA
RGBrgb(237, 135, 234)
HSLhsl(302, 74%, 73%)
HSVhsv(302, 43%, 93%)
CMYKcmyk(0%, 43%, 1.3%, 7.1%)
CIE-LABlab(70.37, 52.89, -33.58)
CIE-LCHlch(70.37, 62.65, 327.59°)
OKLaboklab(76.61% 0.1476 -0.0916)
OKLCHoklch(76.61% 0.174 328.2)
XYZxyz(58.4394, 41.2759, 82.7148)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87EA #87ED8A
analogous
#BD87ED #ED87EA #ED87B7
triadic
#ED87EA #EAED87 #87EAED
tetradic
#ED87EA #EDBD87 #87ED8A #87B7ED
square
#ED87EA #EDBD87 #87ED8A #87B7ED
split-complementary
#ED87EA #B7ED87 #87EDBD
monochromatic
#D921D4 #E552E1 #ED87EA #F5BCF3 #FBE4FA

Accessibility & contrast

On white

2.27
#ED87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#ED87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87EA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87EA#FFFFFF#000000##000000
##ED87EA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4ED
Deuteranopia (green-blind)
#9CB1E7
Tritanopia (blue-blind)
#F390AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ed87ea;
/* rgb */ color: rgb(237, 135, 234);
/* oklch */ color: oklch(76.6% 0.174 328.2);
Tailwind
colors: {
  custom: {
    50: '#f5adf1',
    500: '#ed87ea',
    950: '#000000',
  },
}
SCSS
$custom: #ed87ea;
$custom-light: #f5adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87ea",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 301.765,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.17376,
    "h": 328.2
  },
  "luminance": 0.41273
}

Semantic roles & 50–950 ramp

primary
#ED87EA
secondary
#D8F3D9
accent
#D6150F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #ED87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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