#ED87F3#ED87F3

#ED87F3 is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.0% C 0.182 H 325.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#ED87F3
RGBrgb(237, 135, 243)
HSLhsl(297, 82%, 74%)
HSVhsv(297, 44%, 95%)
CMYKcmyk(2.5%, 44.4%, 0%, 4.7%)
CIE-LABlab(70.74, 54.49, -37.94)
CIE-LCHlch(70.74, 66.40, 325.15°)
OKLaboklab(77.01% 0.1493 -0.1041)
OKLCHoklch(77.01% 0.182 325.1)
XYZxyz(59.7653, 41.8063, 89.6980)
Luminance0.4180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F3 #8DF387
analogous
#B787F3 #ED87F3 #F387C3
triadic
#ED87F3 #F3ED87 #87F3ED
tetradic
#ED87F3 #F3B787 #8DF387 #87C3F3
square
#ED87F3 #F3B787 #8DF387 #87C3F3
split-complementary
#ED87F3 #C3F387 #87F3B7
monochromatic
#DC18E8 #E54FED #ED87F3 #F5BFF9 #FBE3FC

Accessibility & contrast

On white

2.24
#ED87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#ED87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F3
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F3#FFFFFF#000000##000000
##ED87F31.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F7
Deuteranopia (green-blind)
#98B2F0
Tritanopia (blue-blind)
#F293B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ed87f3;
/* rgb */ color: rgb(237, 135, 243);
/* oklch */ color: oklch(77.0% 0.182 325.1);
Tailwind
colors: {
  custom: {
    50: '#f5adf7',
    500: '#ed87f3',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f3;
$custom-light: #f5adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f3",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 296.667,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77007,
    "c": 0.18202,
    "h": 325.1
  },
  "luminance": 0.41804
}

Semantic roles & 50–950 ramp

primary
#ED87F3
secondary
#D9F4D7
accent
#DE0713
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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