#E87FDF#E87FDF

#E87FDF is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.4% C 0.174 H 330.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#E87FDF
RGBrgb(232, 127, 223)
HSLhsl(305, 70%, 70%)
HSVhsv(305, 45%, 91%)
CMYKcmyk(0%, 45.3%, 3.9%, 9%)
CIE-LABlab(67.77, 53.50, -31.57)
CIE-LCHlch(67.77, 62.12, 329.45°)
OKLaboklab(74.4% 0.1512 -0.086)
OKLCHoklch(74.4% 0.174 330.4)
XYZxyz(54.1868, 37.6653, 74.2137)
Luminance0.3766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FDF #7FE888
analogous
#BC7FE8 #E87FDF #E87FAA
triadic
#E87FDF #DFE87F #7FDFE8
tetradic
#E87FDF #E8BC7F #7FE888 #7FAAE8
square
#E87FDF #E8BC7F #7FE888 #7FAAE8
split-complementary
#E87FDF #AAE87F #7FE8BC
monochromatic
#C924BA #DF4BD2 #E87FDF #F1B3EC #FAE5F9

Accessibility & contrast

On white

2.46
#E87FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#E87FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FDF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FDF#FFFFFF#000000##000000
##E87FDF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9CE2
Deuteranopia (green-blind)
#97AADC
Tritanopia (blue-blind)
#EF87A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e87fdf;
/* rgb */ color: rgb(232, 127, 223);
/* oklch */ color: oklch(74.4% 0.174 330.4);
Tailwind
colors: {
  custom: {
    50: '#f1a7e9',
    500: '#e87fdf',
    950: '#000000',
  },
}
SCSS
$custom: #e87fdf;
$custom-light: #f1a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fdf",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 305.143,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74401,
    "c": 0.17391,
    "h": 330.4
  },
  "luminance": 0.37662
}

Semantic roles & 50–950 ramp

primary
#E87FDF
secondary
#D3F0D5
accent
#D22414
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E87FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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