#EA87D5#EA87D5

#EA87D5 is a light, vivid pink. Relative luminance 0.396; OKLCH L 75.4% C 0.154 H 335.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#EA87D5
RGBrgb(234, 135, 213)
HSLhsl(313, 70%, 72%)
HSVhsv(313, 42%, 92%)
CMYKcmyk(0%, 42.3%, 9%, 8.2%)
CIE-LABlab(69.20, 48.40, -23.81)
CIE-LCHlch(69.20, 53.94, 333.81°)
OKLaboklab(75.4% 0.1396 -0.0641)
OKLCHoklch(75.4% 0.154 335.3)
XYZxyz(54.6058, 39.6276, 67.7106)
Luminance0.3962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87D5 #87EA9C
analogous
#CD87EA #EA87D5 #EA87A4
triadic
#EA87D5 #D5EA87 #87D5EA
tetradic
#EA87D5 #EACD87 #87EA9C #87A4EA
square
#EA87D5 #EACD87 #87EA9C #87A4EA
split-complementary
#EA87D5 #A4EA87 #87EACD
monochromatic
#D225AD #E153C3 #EA87D5 #F3BBE7 #FAE5F6

Accessibility & contrast

On white

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

On black

8.92
#EA87D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87D5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87D5#FFFFFF#000000##000000
##EA87D51.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A0D8
Deuteranopia (green-blind)
#A2AED2
Tritanopia (blue-blind)
#F38BA4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ea87d5;
/* rgb */ color: rgb(234, 135, 213);
/* oklch */ color: oklch(75.4% 0.154 335.3);
Tailwind
colors: {
  custom: {
    50: '#f2ace2',
    500: '#ea87d5',
    950: '#000000',
  },
}
SCSS
$custom: #ea87d5;
$custom-light: #f2ace2;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87d5",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 312.727,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75398,
    "c": 0.15361,
    "h": 335.3
  },
  "luminance": 0.39624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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