#ED87F7#ED87F7

#ED87F7 is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.2% C 0.186 H 323.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#ED87F7
RGBrgb(237, 135, 247)
HSLhsl(295, 88%, 75%)
HSVhsv(295, 45%, 97%)
CMYKcmyk(4%, 45.3%, 0%, 3.1%)
CIE-LABlab(70.91, 55.22, -39.86)
CIE-LCHlch(70.91, 68.10, 324.17°)
OKLaboklab(77.19% 0.15 -0.1096)
OKLCHoklch(77.19% 0.186 323.8)
XYZxyz(60.3759, 42.0506, 92.9139)
Luminance0.4205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F7 #91F787
analogous
#B587F7 #ED87F7 #F787C9
triadic
#ED87F7 #F7ED87 #87F7ED
tetradic
#ED87F7 #F7B587 #91F787 #87C9F7
square
#ED87F7 #F7B587 #91F787 #87C9F7
split-complementary
#ED87F7 #C9F787 #87F7B5
monochromatic
#DC14EF #E44EF3 #ED87F7 #F6C0FB #FBE2FD

Accessibility & contrast

On white

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

On black

9.41
#ED87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F7
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F7#FFFFFF#000000##000000
##ED87F71.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#97B2F4
Tritanopia (blue-blind)
#F194B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ed87f7;
/* rgb */ color: rgb(237, 135, 247);
/* oklch */ color: oklch(77.2% 0.186 323.8);
Tailwind
colors: {
  custom: {
    50: '#f5adfa',
    500: '#ed87f7',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f7;
$custom-light: #f5adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f7",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 294.643,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77188,
    "c": 0.18578,
    "h": 323.8
  },
  "luminance": 0.42048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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