#ED87F8#ED87F8

#ED87F8 is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.2% C 0.187 H 323.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#ED87F8
RGBrgb(237, 135, 248)
HSLhsl(294, 89%, 75%)
HSVhsv(294, 46%, 97%)
CMYKcmyk(4.4%, 45.6%, 0%, 2.7%)
CIE-LABlab(70.95, 55.40, -40.34)
CIE-LCHlch(70.95, 68.53, 323.94°)
OKLaboklab(77.23% 0.1502 -0.111)
OKLCHoklch(77.23% 0.187 323.5)
XYZxyz(60.5306, 42.1125, 93.7288)
Luminance0.4211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F8 #92F887
analogous
#B487F8 #ED87F8 #F887CB
triadic
#ED87F8 #F8ED87 #87F8ED
tetradic
#ED87F8 #F8B487 #92F887 #87CBF8
square
#ED87F8 #F8B487 #92F887 #87CBF8
split-complementary
#ED87F8 #CBF887 #87F8B4
monochromatic
#DC13F1 #E44DF5 #ED87F8 #F6C1FB #FBE2FD

Accessibility & contrast

On white

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

On black

9.42
#ED87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F8
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F8#FFFFFF#000000##000000
##ED87F81.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#96B2F5
Tritanopia (blue-blind)
#F194B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ed87f8;
/* rgb */ color: rgb(237, 135, 248);
/* oklch */ color: oklch(77.2% 0.187 323.5);
Tailwind
colors: {
  custom: {
    50: '#f5adfb',
    500: '#ed87f8',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f8;
$custom-light: #f5adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f8",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 294.159,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77234,
    "c": 0.18673,
    "h": 323.5
  },
  "luminance": 0.4211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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