#EB87D5#EB87D5

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

Color values

HEX#EB87D5
RGBrgb(235, 135, 213)
HSLhsl(313, 71%, 73%)
HSVhsv(313, 43%, 92%)
CMYKcmyk(0%, 42.6%, 9.4%, 7.8%)
CIE-LABlab(69.33, 48.71, -23.61)
CIE-LCHlch(69.33, 54.13, 334.14°)
OKLaboklab(75.52% 0.1407 -0.0636)
OKLCHoklch(75.52% 0.154 335.7)
XYZxyz(54.9351, 39.7974, 67.7260)
Luminance0.3979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87D5 #87EB9D
analogous
#CF87EB #EB87D5 #EB87A3
triadic
#EB87D5 #D5EB87 #87D5EB
tetradic
#EB87D5 #EBCF87 #87EB9D #87A3EB
square
#EB87D5 #EBCF87 #87EB9D #87A3EB
split-complementary
#EB87D5 #A3EB87 #87EBCF
monochromatic
#D423AD #E253C3 #EB87D5 #F4BBE7 #FBE5F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB87D5#FFFFFF#000000##000000
##EB87D51.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)
#88A0D8
Deuteranopia (green-blind)
#A2AFD2
Tritanopia (blue-blind)
#F48BA4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb87d5;
/* rgb */ color: rgb(235, 135, 213);
/* oklch */ color: oklch(75.5% 0.154 335.7);
Tailwind
colors: {
  custom: {
    50: '#f3ace2',
    500: '#eb87d5',
    950: '#000000',
  },
}
SCSS
$custom: #eb87d5;
$custom-light: #f3ace2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87d5",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 313.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75515,
    "c": 0.15438,
    "h": 335.7
  },
  "luminance": 0.39794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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