#ED87F0#ED87F0

#ED87F0 is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.9% C 0.179 H 326.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#ED87F0
RGBrgb(237, 135, 240)
HSLhsl(298, 78%, 74%)
HSVhsv(298, 44%, 94%)
CMYKcmyk(1.2%, 43.8%, 0%, 5.9%)
CIE-LABlab(70.61, 53.95, -36.49)
CIE-LCHlch(70.61, 65.13, 325.93°)
OKLaboklab(76.87% 0.1488 -0.0999)
OKLCHoklch(76.87% 0.179 326.1)
XYZxyz(59.3160, 41.6266, 87.3315)
Luminance0.4162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F0 #8AF087
analogous
#B887F0 #ED87F0 #F087BE
triadic
#ED87F0 #F0ED87 #87F0ED
tetradic
#ED87F0 #F0B887 #8AF087 #87BEF0
square
#ED87F0 #F0B887 #8AF087 #87BEF0
split-complementary
#ED87F0 #BEF087 #87F0B8
monochromatic
#DB1CE1 #E551E9 #ED87F0 #F5BDF7 #FBE4FC

Accessibility & contrast

On white

2.25
#ED87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#ED87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F0#FFFFFF#000000##000000
##ED87F01.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F4
Deuteranopia (green-blind)
#9AB1ED
Tritanopia (blue-blind)
#F292B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ed87f0;
/* rgb */ color: rgb(237, 135, 240);
/* oklch */ color: oklch(76.9% 0.179 326.1);
Tailwind
colors: {
  custom: {
    50: '#f5adf5',
    500: '#ed87f0',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f0;
$custom-light: #f5adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f0",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 298.286,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76874,
    "c": 0.17923,
    "h": 326.1
  },
  "luminance": 0.41624
}

Semantic roles & 50–950 ramp

primary
#ED87F0
secondary
#D8F3D8
accent
#DA0B11
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #ED87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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