#EB87DB#EB87DB

#EB87DB is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.8% C 0.159 H 333.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#EB87DB
RGBrgb(235, 135, 219)
HSLhsl(310, 71%, 73%)
HSVhsv(310, 43%, 92%)
CMYKcmyk(0%, 42.6%, 6.8%, 7.8%)
CIE-LABlab(69.55, 49.71, -26.60)
CIE-LCHlch(69.55, 56.38, 331.85°)
OKLaboklab(75.75% 0.1422 -0.0719)
OKLCHoklch(75.75% 0.159 333.2)
XYZxyz(55.7108, 40.1077, 71.8112)
Luminance0.4011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87DB #87EB97
analogous
#C987EB #EB87DB #EB87A9
triadic
#EB87DB #DBEB87 #87DBEB
tetradic
#EB87DB #EBC987 #87EB97 #87A9EB
square
#EB87DB #EBC987 #87EB97 #87A9EB
split-complementary
#EB87DB #A9EB87 #87EBC9
monochromatic
#D423B8 #E253CB #EB87DB #F4BBEB #FBE5F7

Accessibility & contrast

On white

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

On black

9.02
#EB87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87DB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87DB#FFFFFF#000000##000000
##EB87DB1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DE
Deuteranopia (green-blind)
#A0AFD8
Tritanopia (blue-blind)
#F38DA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #eb87db;
/* rgb */ color: rgb(235, 135, 219);
/* oklch */ color: oklch(75.8% 0.159 333.2);
Tailwind
colors: {
  custom: {
    50: '#f3ace6',
    500: '#eb87db',
    950: '#000000',
  },
}
SCSS
$custom: #eb87db;
$custom-light: #f3ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87db",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 309.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75754,
    "c": 0.15931,
    "h": 333.2
  },
  "luminance": 0.40105
}

Semantic roles & 50–950 ramp

primary
#EB87DB
secondary
#D9F2DD
accent
#D33112
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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