#ED87EC#ED87EC

#ED87EC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.176 H 327.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#ED87EC
RGBrgb(237, 135, 236)
HSLhsl(301, 74%, 73%)
HSVhsv(301, 43%, 93%)
CMYKcmyk(0%, 43%, 0.4%, 7.1%)
CIE-LABlab(70.45, 53.24, -34.55)
CIE-LCHlch(70.45, 63.47, 327.02°)
OKLaboklab(76.7% 0.148 -0.0944)
OKLCHoklch(76.7% 0.176 327.5)
XYZxyz(58.7283, 41.3915, 84.2365)
Luminance0.4139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87EC #87ED88
analogous
#BB87ED #ED87EC #ED87B9
triadic
#ED87EC #ECED87 #87ECED
tetradic
#ED87EC #EDBB87 #87ED88 #87B9ED
square
#ED87EC #EDBB87 #87ED88 #87B9ED
split-complementary
#ED87EC #B9ED87 #87EDBB
monochromatic
#D921D7 #E552E4 #ED87EC #F5BCF4 #FBE4FB

Accessibility & contrast

On white

2.26
#ED87EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#ED87EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87EC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87EC#FFFFFF#000000##000000
##ED87EC1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4F0
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#F391AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ed87ec;
/* rgb */ color: rgb(237, 135, 236);
/* oklch */ color: oklch(76.7% 0.176 327.5);
Tailwind
colors: {
  custom: {
    50: '#f5adf2',
    500: '#ed87ec',
    950: '#000000',
  },
}
SCSS
$custom: #ed87ec;
$custom-light: #f5adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87ec",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 300.588,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76698,
    "c": 0.17557,
    "h": 327.5
  },
  "luminance": 0.41389
}

Semantic roles & 50–950 ramp

primary
#ED87EC
secondary
#D8F3D9
accent
#D6110F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #ED87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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