#EA87CE#EA87CE

#EA87CE is a light, vivid pink. Relative luminance 0.393; OKLCH L 75.1% C 0.148 H 338.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#EA87CE
RGBrgb(234, 135, 206)
HSLhsl(317, 70%, 72%)
HSVhsv(317, 42%, 92%)
CMYKcmyk(0%, 42.3%, 12%, 8.2%)
CIE-LABlab(68.95, 47.26, -20.30)
CIE-LCHlch(68.95, 51.44, 336.75°)
OKLaboklab(75.13% 0.1378 -0.0543)
OKLCHoklch(75.13% 0.148 338.5)
XYZxyz(53.7364, 39.2799, 63.1320)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87CE #87EAA3
analogous
#D587EA #EA87CE #EA879C
triadic
#EA87CE #CEEA87 #87CEEA
tetradic
#EA87CE #EAD587 #87EAA3 #879CEA
square
#EA87CE #EAD587 #87EAA3 #879CEA
split-complementary
#EA87CE #9CEA87 #87EAD5
monochromatic
#D225A1 #E153B9 #EA87CE #F3BBE3 #FAE5F4

Accessibility & contrast

On white

2.37
#EA87CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#EA87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87CE
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87CE#FFFFFF#000000##000000
##EA87CE1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD1
Deuteranopia (green-blind)
#A4AECB
Tritanopia (blue-blind)
#F489A2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ea87ce;
/* rgb */ color: rgb(234, 135, 206);
/* oklch */ color: oklch(75.1% 0.148 338.5);
Tailwind
colors: {
  custom: {
    50: '#f2acdd',
    500: '#ea87ce',
    950: '#000000',
  },
}
SCSS
$custom: #ea87ce;
$custom-light: #f2acdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87ce",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 316.97,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75128,
    "c": 0.14811,
    "h": 338.5
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

primary
#EA87CE
secondary
#D9F2E0
accent
#D24913
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EA87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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