#ED87FC#ED87FC

#ED87FC is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.4% C 0.191 H 322.3°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#ED87FC
RGBrgb(237, 135, 252)
HSLhsl(292, 95%, 76%)
HSVhsv(292, 46%, 99%)
CMYKcmyk(6%, 46.4%, 0%, 1.2%)
CIE-LABlab(71.12, 56.14, -42.26)
CIE-LCHlch(71.12, 70.26, 323.03°)
OKLaboklab(77.42% 0.1508 -0.1165)
OKLCHoklch(77.42% 0.191 322.3)
XYZxyz(61.1578, 42.3633, 97.0320)
Luminance0.4236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87FC #96FC87
analogous
#B287FC #ED87FC #FC87D0
triadic
#ED87FC #FCED87 #87FCED
tetradic
#ED87FC #FCB287 #96FC87 #87D0FC
square
#ED87FC #FCB287 #96FC87 #87D0FC
split-complementary
#ED87FC #D0FC87 #87FCB2
monochromatic
#DB10F9 #E44BFB #ED87FC #F6C3FD #FBE1FE

Accessibility & contrast

On white

2.22
#ED87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#ED87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87FC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87FC#FFFFFF#000000##000000
##ED87FC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#94B2F9
Tritanopia (blue-blind)
#F096B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ed87fc;
/* rgb */ color: rgb(237, 135, 252);
/* oklch */ color: oklch(77.4% 0.191 322.3);
Tailwind
colors: {
  custom: {
    50: '#f5adfe',
    500: '#ed87fc',
    950: '#000000',
  },
}
SCSS
$custom: #ed87fc;
$custom-light: #f5adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87fc",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 292.308,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77418,
    "c": 0.19054,
    "h": 322.3
  },
  "luminance": 0.42361
}

Semantic roles & 50–950 ramp

primary
#ED87FC
secondary
#D9F6D5
accent
#E6001D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #ED87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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