#E87FDA#E87FDA

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

Color values

HEX#E87FDA
RGBrgb(232, 127, 218)
HSLhsl(308, 70%, 70%)
HSVhsv(308, 45%, 91%)
CMYKcmyk(0%, 45.3%, 6%, 9%)
CIE-LABlab(67.58, 52.65, -29.10)
CIE-LCHlch(67.58, 60.16, 331.07°)
OKLaboklab(74.19% 0.1501 -0.079)
OKLCHoklch(74.19% 0.17 332.3)
XYZxyz(53.5226, 37.3996, 70.7158)
Luminance0.3740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FDA #7FE88D
analogous
#C17FE8 #E87FDA #E87FA5
triadic
#E87FDA #DAE87F #7FDAE8
tetradic
#E87FDA #E8C17F #7FE88D #7FA5E8
square
#E87FDA #E8C17F #7FE88D #7FA5E8
split-complementary
#E87FDA #A5E87F #7FE8C1
monochromatic
#C924B3 #DF4BCB #E87FDA #F1B3E9 #FAE5F8

Accessibility & contrast

On white

2.48
#E87FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#E87FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FDA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FDA#FFFFFF#000000##000000
##E87FDA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#99AAD7
Tritanopia (blue-blind)
#F086A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e87fda;
/* rgb */ color: rgb(232, 127, 218);
/* oklch */ color: oklch(74.2% 0.170 332.3);
Tailwind
colors: {
  custom: {
    50: '#f1a7e5',
    500: '#e87fda',
    950: '#000000',
  },
}
SCSS
$custom: #e87fda;
$custom-light: #f1a7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fda",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 308,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74189,
    "c": 0.16964,
    "h": 332.3
  },
  "luminance": 0.37397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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