#ED87F5#ED87F5

#ED87F5 is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.1% C 0.184 H 324.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#ED87F5
RGBrgb(237, 135, 245)
HSLhsl(296, 85%, 75%)
HSVhsv(296, 45%, 96%)
CMYKcmyk(3.3%, 44.9%, 0%, 3.9%)
CIE-LABlab(70.82, 54.85, -38.90)
CIE-LCHlch(70.82, 67.25, 324.65°)
OKLaboklab(77.1% 0.1497 -0.1068)
OKLCHoklch(77.1% 0.184 324.5)
XYZxyz(60.0689, 41.9278, 91.2973)
Luminance0.4193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F5 #8FF587
analogous
#B687F5 #ED87F5 #F587C6
triadic
#ED87F5 #F5ED87 #87F5ED
tetradic
#ED87F5 #F5B687 #8FF587 #87C6F5
square
#ED87F5 #F5B687 #8FF587 #87C6F5
split-complementary
#ED87F5 #C6F587 #87F5B6
monochromatic
#DC16EC #E54FF0 #ED87F5 #F5BFFA #FBE3FD

Accessibility & contrast

On white

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

On black

9.39
#ED87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F5
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F5#FFFFFF#000000##000000
##ED87F51.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F9
Deuteranopia (green-blind)
#97B2F2
Tritanopia (blue-blind)
#F193B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ed87f5;
/* rgb */ color: rgb(237, 135, 245);
/* oklch */ color: oklch(77.1% 0.184 324.5);
Tailwind
colors: {
  custom: {
    50: '#f5adf9',
    500: '#ed87f5',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f5;
$custom-light: #f5adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f5",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 295.636,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77097,
    "c": 0.18389,
    "h": 324.5
  },
  "luminance": 0.41925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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