#ED87F6#ED87F6

#ED87F6 is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.1% C 0.185 H 324.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#ED87F6
RGBrgb(237, 135, 246)
HSLhsl(295, 86%, 75%)
HSVhsv(295, 45%, 96%)
CMYKcmyk(3.7%, 45.1%, 0%, 3.5%)
CIE-LABlab(70.86, 55.04, -39.38)
CIE-LCHlch(70.86, 67.68, 324.41°)
OKLaboklab(77.14% 0.1498 -0.1082)
OKLCHoklch(77.14% 0.185 324.2)
XYZxyz(60.2220, 41.9890, 92.1034)
Luminance0.4199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F6 #90F687
analogous
#B687F6 #ED87F6 #F687C8
triadic
#ED87F6 #F6ED87 #87F6ED
tetradic
#ED87F6 #F6B687 #90F687 #87C8F6
square
#ED87F6 #F6B687 #90F687 #87C8F6
split-complementary
#ED87F6 #C8F687 #87F6B6
monochromatic
#DC15ED #E44EF2 #ED87F6 #F6C0FA #FBE3FD

Accessibility & contrast

On white

2.23
#ED87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#ED87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F6
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F6#FFFFFF#000000##000000
##ED87F61.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FA
Deuteranopia (green-blind)
#97B2F3
Tritanopia (blue-blind)
#F194B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ed87f6;
/* rgb */ color: rgb(237, 135, 246);
/* oklch */ color: oklch(77.1% 0.185 324.2);
Tailwind
colors: {
  custom: {
    50: '#f5adf9',
    500: '#ed87f6',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f6;
$custom-light: #f5adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f6",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 295.135,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77142,
    "c": 0.18483,
    "h": 324.2
  },
  "luminance": 0.41986
}

Semantic roles & 50–950 ramp

primary
#ED87F6
secondary
#D9F5D6
accent
#E30315
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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