#ED87FE#ED87FE

#ED87FE is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.5% C 0.192 H 321.7°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#ED87FE
RGBrgb(237, 135, 254)
HSLhsl(291, 98%, 76%)
HSVhsv(291, 47%, 100%)
CMYKcmyk(6.7%, 46.9%, 0%, 0.4%)
CIE-LABlab(71.21, 56.51, -43.21)
CIE-LCHlch(71.21, 71.14, 322.60°)
OKLaboklab(77.51% 0.1511 -0.1192)
OKLCHoklch(77.51% 0.192 321.7)
XYZxyz(61.4764, 42.4908, 98.7100)
Luminance0.4249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87FE #98FE87
analogous
#B287FE #ED87FE #FE87D4
triadic
#ED87FE #FEED87 #87FEED
tetradic
#ED87FE #FEB287 #98FE87 #87D4FE
square
#ED87FE #FEB287 #98FE87 #87D4FE
split-complementary
#ED87FE #D4FE87 #87FEB2
monochromatic
#DB0EFD #E44AFD #ED87FE #F6C4FF #FAE1FF

Accessibility & contrast

On white

2.21
#ED87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#ED87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87FE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87FE#FFFFFF#000000##000000
##ED87FE1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#93B2FB
Tritanopia (blue-blind)
#F096B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ed87fe;
/* rgb */ color: rgb(237, 135, 254);
/* oklch */ color: oklch(77.5% 0.192 321.7);
Tailwind
colors: {
  custom: {
    50: '#f5adff',
    500: '#ed87fe',
    950: '#000000',
  },
}
SCSS
$custom: #ed87fe;
$custom-light: #f5adff;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87fe",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 291.429,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77511,
    "c": 0.19247,
    "h": 321.7
  },
  "luminance": 0.42488
}

Semantic roles & 50–950 ramp

primary
#ED87FE
secondary
#D9F7D4
accent
#E60021
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #ED87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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