#E87FDB#E87FDB

#E87FDB is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.2% C 0.170 H 331.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#E87FDB
RGBrgb(232, 127, 219)
HSLhsl(307, 70%, 70%)
HSVhsv(307, 45%, 91%)
CMYKcmyk(0%, 45.3%, 5.6%, 9%)
CIE-LABlab(67.61, 52.82, -29.60)
CIE-LCHlch(67.61, 60.55, 330.73°)
OKLaboklab(74.23% 0.1503 -0.0804)
OKLCHoklch(74.23% 0.17 331.9)
XYZxyz(53.6539, 37.4521, 71.4070)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FDB #7FE88C
analogous
#C17FE8 #E87FDB #E87FA6
triadic
#E87FDB #DBE87F #7FDBE8
tetradic
#E87FDB #E8C17F #7FE88C #7FA6E8
square
#E87FDB #E8C17F #7FE88C #7FA6E8
split-complementary
#E87FDB #A6E87F #7FE8C1
monochromatic
#C924B4 #DF4BCC #E87FDB #F1B3EA #FAE5F8

Accessibility & contrast

On white

2.47
#E87FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#E87FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FDB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FDB#FFFFFF#000000##000000
##E87FDB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDE
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#F086A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e87fdb;
/* rgb */ color: rgb(232, 127, 219);
/* oklch */ color: oklch(74.2% 0.170 331.9);
Tailwind
colors: {
  custom: {
    50: '#f1a7e6',
    500: '#e87fdb',
    950: '#000000',
  },
}
SCSS
$custom: #e87fdb;
$custom-light: #f1a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fdb",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 307.429,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74231,
    "c": 0.17048,
    "h": 331.9
  },
  "luminance": 0.37449
}

Semantic roles & 50–950 ramp

primary
#E87FDB
secondary
#D3F0D7
accent
#D22B14
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E87FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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