#E87CD7#E87CD7

#E87CD7 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.6% C 0.172 H 333.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#E87CD7
RGBrgb(232, 124, 215)
HSLhsl(309, 70%, 70%)
HSVhsv(309, 47%, 91%)
CMYKcmyk(0%, 46.6%, 7.3%, 9%)
CIE-LABlab(66.89, 53.64, -28.50)
CIE-LCHlch(66.89, 60.74, 332.02°)
OKLaboklab(73.64% 0.1538 -0.0772)
OKLCHoklch(73.64% 0.172 333.3)
XYZxyz(52.7519, 36.4806, 68.5397)
Luminance0.3648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87CD7 #7CE88D
analogous
#C37CE8 #E87CD7 #E87CA1
triadic
#E87CD7 #D7E87C #7CD7E8
tetradic
#E87CD7 #E8C37C #7CE88D #7CA1E8
square
#E87CD7 #E8C37C #7CE88D #7CA1E8
split-complementary
#E87CD7 #A1E87C #7CE8C3
monochromatic
#C723AD #DF48C7 #E87CD7 #F1B0E7 #FAE4F7

Accessibility & contrast

On white

2.53
#E87CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#E87CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87CD7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87CD7#FFFFFF#000000##000000
##E87CD71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A99DA
Deuteranopia (green-blind)
#98A8D4
Tritanopia (blue-blind)
#F182A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e87cd7;
/* rgb */ color: rgb(232, 124, 215);
/* oklch */ color: oklch(73.6% 0.172 333.3);
Tailwind
colors: {
  custom: {
    50: '#f1a5e3',
    500: '#e87cd7',
    950: '#000000',
  },
}
SCSS
$custom: #e87cd7;
$custom-light: #f1a5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#e87cd7",
  "rgb": {
    "r": 232,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 309.444,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73636,
    "c": 0.17206,
    "h": 333.3
  },
  "luminance": 0.36477
}

Semantic roles & 50–950 ramp

primary
#E87CD7
secondary
#D1EFD5
accent
#D23113
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E87CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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