#E87FD7#E87FD7

#E87FD7 is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.1% C 0.167 H 333.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#E87FD7
RGBrgb(232, 127, 215)
HSLhsl(310, 70%, 70%)
HSVhsv(310, 45%, 91%)
CMYKcmyk(0%, 45.3%, 7.3%, 9%)
CIE-LABlab(67.46, 52.15, -27.62)
CIE-LCHlch(67.46, 59.01, 332.10°)
OKLaboklab(74.06% 0.1495 -0.0748)
OKLCHoklch(74.06% 0.167 333.4)
XYZxyz(53.1336, 37.2440, 68.6670)
Luminance0.3724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FD7 #7FE890
analogous
#C47FE8 #E87FD7 #E87FA3
triadic
#E87FD7 #D7E87F #7FD7E8
tetradic
#E87FD7 #E8C47F #7FE890 #7FA3E8
square
#E87FD7 #E8C47F #7FE890 #7FA3E8
split-complementary
#E87FD7 #A3E87F #7FE8C4
monochromatic
#C924AE #DF4BC7 #E87FD7 #F1B3E7 #FAE5F7

Accessibility & contrast

On white

2.49
#E87FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#E87FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FD7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FD7#FFFFFF#000000##000000
##E87FD71.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9BDA
Deuteranopia (green-blind)
#9AAAD4
Tritanopia (blue-blind)
#F085A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e87fd7;
/* rgb */ color: rgb(232, 127, 215);
/* oklch */ color: oklch(74.1% 0.167 333.4);
Tailwind
colors: {
  custom: {
    50: '#f1a7e3',
    500: '#e87fd7',
    950: '#000000',
  },
}
SCSS
$custom: #e87fd7;
$custom-light: #f1a7e3;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fd7",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 309.714,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.16713,
    "h": 333.4
  },
  "luminance": 0.37241
}

Semantic roles & 50–950 ramp

primary
#E87FD7
secondary
#D3F0D8
accent
#D23314
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #E87FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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