#EB87D9#EB87D9

#EB87D9 is a light, vivid pink. Relative luminance 0.400; OKLCH L 75.7% C 0.158 H 334.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#EB87D9
RGBrgb(235, 135, 217)
HSLhsl(311, 71%, 73%)
HSVhsv(311, 43%, 92%)
CMYKcmyk(0%, 42.6%, 7.7%, 7.8%)
CIE-LABlab(69.47, 49.38, -25.60)
CIE-LCHlch(69.47, 55.62, 332.59°)
OKLaboklab(75.67% 0.1417 -0.0691)
OKLCHoklch(75.67% 0.158 334)
XYZxyz(55.4491, 40.0030, 70.4329)
Luminance0.4000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87D9 #87EB99
analogous
#CB87EB #EB87D9 #EB87A7
triadic
#EB87D9 #D9EB87 #87D9EB
tetradic
#EB87D9 #EBCB87 #87EB99 #87A7EB
square
#EB87D9 #EBCB87 #87EB99 #87A7EB
split-complementary
#EB87D9 #A7EB87 #87EBCB
monochromatic
#D423B4 #E253C8 #EB87D9 #F4BBEA #FBE5F7

Accessibility & contrast

On white

2.33
#EB87D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#EB87D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87D9
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87D9#FFFFFF#000000##000000
##EB87D91.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DC
Deuteranopia (green-blind)
#A1AFD6
Tritanopia (blue-blind)
#F38CA6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #eb87d9;
/* rgb */ color: rgb(235, 135, 217);
/* oklch */ color: oklch(75.7% 0.158 334.0);
Tailwind
colors: {
  custom: {
    50: '#f3ace5',
    500: '#eb87d9',
    950: '#000000',
  },
}
SCSS
$custom: #eb87d9;
$custom-light: #f3ace5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87d9",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 310.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75673,
    "c": 0.15765,
    "h": 334
  },
  "luminance": 0.4
}

Semantic roles & 50–950 ramp

primary
#EB87D9
secondary
#D9F2DD
accent
#D33512
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #EB87D9

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

Preview Lab → · Contrast checker → · Palette generator →

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