#ED87F1#ED87F1

#ED87F1 is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.9% C 0.180 H 325.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#ED87F1
RGBrgb(237, 135, 241)
HSLhsl(298, 79%, 74%)
HSVhsv(298, 44%, 95%)
CMYKcmyk(1.7%, 44%, 0%, 5.5%)
CIE-LABlab(70.65, 54.13, -36.97)
CIE-LCHlch(70.65, 65.55, 325.66°)
OKLaboklab(76.92% 0.149 -0.1013)
OKLCHoklch(76.92% 0.18 325.8)
XYZxyz(59.4649, 41.6862, 88.1160)
Luminance0.4168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F1 #8BF187
analogous
#B887F1 #ED87F1 #F187C0
triadic
#ED87F1 #F1ED87 #87F1ED
tetradic
#ED87F1 #F1B887 #8BF187 #87C0F1
square
#ED87F1 #F1B887 #8BF187 #87C0F1
split-complementary
#ED87F1 #C0F187 #87F1B8
monochromatic
#DC1AE3 #E550EB #ED87F1 #F5BEF7 #FBE4FC

Accessibility & contrast

On white

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

On black

9.34
#ED87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F1
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F1#FFFFFF#000000##000000
##ED87F11.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#99B1EE
Tritanopia (blue-blind)
#F292B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ed87f1;
/* rgb */ color: rgb(237, 135, 241);
/* oklch */ color: oklch(76.9% 0.180 325.8);
Tailwind
colors: {
  custom: {
    50: '#f5adf6',
    500: '#ed87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f1;
$custom-light: #f5adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f1",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 297.736,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76918,
    "c": 0.18017,
    "h": 325.8
  },
  "luminance": 0.41683
}

Semantic roles & 50–950 ramp

primary
#ED87F1
secondary
#D8F4D7
accent
#DB0A12
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #ED87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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