#EA87D8#EA87D8

#EA87D8 is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.5% C 0.156 H 334.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#EA87D8
RGBrgb(234, 135, 216)
HSLhsl(311, 70%, 72%)
HSVhsv(311, 42%, 92%)
CMYKcmyk(0%, 42.3%, 7.7%, 8.2%)
CIE-LABlab(69.31, 48.90, -25.30)
CIE-LCHlch(69.31, 55.06, 332.64°)
OKLaboklab(75.52% 0.1403 -0.0683)
OKLCHoklch(75.52% 0.156 334)
XYZxyz(54.9901, 39.7814, 69.7345)
Luminance0.3978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87D8 #87EA99
analogous
#CB87EA #EA87D8 #EA87A7
triadic
#EA87D8 #D8EA87 #87D8EA
tetradic
#EA87D8 #EACB87 #87EA99 #87A7EA
square
#EA87D8 #EACB87 #87EA99 #87A7EA
split-complementary
#EA87D8 #A7EA87 #87EACB
monochromatic
#D225B2 #E153C7 #EA87D8 #F3BBE9 #FAE5F7

Accessibility & contrast

On white

2.34
#EA87D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#EA87D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87D8
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87D8#FFFFFF#000000##000000
##EA87D81.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A0DB
Deuteranopia (green-blind)
#A1AED5
Tritanopia (blue-blind)
#F28CA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ea87d8;
/* rgb */ color: rgb(234, 135, 216);
/* oklch */ color: oklch(75.5% 0.156 334.0);
Tailwind
colors: {
  custom: {
    50: '#f2ace4',
    500: '#ea87d8',
    950: '#000000',
  },
}
SCSS
$custom: #ea87d8;
$custom-light: #f2ace4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87d8",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 310.909,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75517,
    "c": 0.15607,
    "h": 334
  },
  "luminance": 0.39778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87D8

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

Preview Lab → · Contrast checker → · Palette generator →

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