#ED87F9#ED87F9

#ED87F9 is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.3% C 0.188 H 323.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#ED87F9
RGBrgb(237, 135, 249)
HSLhsl(294, 90%, 75%)
HSVhsv(294, 46%, 98%)
CMYKcmyk(4.8%, 45.8%, 0%, 2.4%)
CIE-LABlab(70.99, 55.58, -40.82)
CIE-LCHlch(70.99, 68.96, 323.71°)
OKLaboklab(77.28% 0.1503 -0.1123)
OKLCHoklch(77.28% 0.188 323.2)
XYZxyz(60.6862, 42.1747, 94.5481)
Luminance0.4217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED87F9 #93F987
analogous
#B487F9 #ED87F9 #F987CC
triadic
#ED87F9 #F9ED87 #87F9ED
tetradic
#ED87F9 #F9B487 #93F987 #87CCF9
square
#ED87F9 #F9B487 #93F987 #87CCF9
split-complementary
#ED87F9 #CCF987 #87F9B4
monochromatic
#DC12F3 #E44DF6 #ED87F9 #F6C1FC #FBE2FE

Accessibility & contrast

On white

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

On black

9.43
#ED87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED87F9
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED87F9#FFFFFF#000000##000000
##ED87F91.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#96B2F6
Tritanopia (blue-blind)
#F095B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ed87f9;
/* rgb */ color: rgb(237, 135, 249);
/* oklch */ color: oklch(77.3% 0.188 323.2);
Tailwind
colors: {
  custom: {
    50: '#f5adfb',
    500: '#ed87f9',
    950: '#000000',
  },
}
SCSS
$custom: #ed87f9;
$custom-light: #f5adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed87f9",
  "rgb": {
    "r": 237,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 293.684,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77279,
    "c": 0.18768,
    "h": 323.2
  },
  "luminance": 0.42172
}

Semantic roles & 50–950 ramp

primary
#ED87F9
secondary
#D9F6D5
accent
#E60018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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