#EA87D7#EA87D7

#EA87D7 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.5% C 0.155 H 334.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#EA87D7
RGBrgb(234, 135, 215)
HSLhsl(312, 70%, 72%)
HSVhsv(312, 42%, 92%)
CMYKcmyk(0%, 42.3%, 8.1%, 8.2%)
CIE-LABlab(69.28, 48.73, -24.81)
CIE-LCHlch(69.28, 54.68, 333.02°)
OKLaboklab(75.48% 0.1401 -0.0669)
OKLCHoklch(75.48% 0.155 334.5)
XYZxyz(54.8612, 39.7298, 69.0558)
Luminance0.3973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87D7 #87EA9A
analogous
#CB87EA #EA87D7 #EA87A6
triadic
#EA87D7 #D7EA87 #87D7EA
tetradic
#EA87D7 #EACB87 #87EA9A #87A6EA
square
#EA87D7 #EACB87 #87EA9A #87A6EA
split-complementary
#EA87D7 #A6EA87 #87EACB
monochromatic
#D225B1 #E153C6 #EA87D7 #F3BBE8 #FAE5F6

Accessibility & contrast

On white

2.35
#EA87D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#EA87D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87D7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87D7#FFFFFF#000000##000000
##EA87D71.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A0DA
Deuteranopia (green-blind)
#A1AED4
Tritanopia (blue-blind)
#F38CA5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ea87d7;
/* rgb */ color: rgb(234, 135, 215);
/* oklch */ color: oklch(75.5% 0.155 334.5);
Tailwind
colors: {
  custom: {
    50: '#f2ace3',
    500: '#ea87d7',
    950: '#000000',
  },
}
SCSS
$custom: #ea87d7;
$custom-light: #f2ace3;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87d7",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 311.515,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75477,
    "c": 0.15525,
    "h": 334.5
  },
  "luminance": 0.39727
}

Semantic roles & 50–950 ramp

primary
#EA87D7
secondary
#D9F2DE
accent
#D23813
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EA87D7

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

Preview Lab → · Contrast checker → · Palette generator →

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