#EB87DE#EB87DE

#EB87DE is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.9% C 0.162 H 332.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#EB87DE
RGBrgb(235, 135, 222)
HSLhsl(308, 71%, 73%)
HSVhsv(308, 43%, 92%)
CMYKcmyk(0%, 42.6%, 5.5%, 7.8%)
CIE-LABlab(69.66, 50.22, -28.08)
CIE-LCHlch(69.66, 57.54, 330.79°)
OKLaboklab(75.88% 0.1429 -0.0761)
OKLCHoklch(75.88% 0.162 332)
XYZxyz(56.1093, 40.2671, 73.9100)
Luminance0.4026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87DE #87EB94
analogous
#C687EB #EB87DE #EB87AC
triadic
#EB87DE #DEEB87 #87DEEB
tetradic
#EB87DE #EBC687 #87EB94 #87ACEB
square
#EB87DE #EBC687 #87EB94 #87ACEB
split-complementary
#EB87DE #ACEB87 #87EBC6
monochromatic
#D423BD #E253D0 #EB87DE #F4BBEC #FBE5F8

Accessibility & contrast

On white

2.32
#EB87DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#EB87DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87DE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87DE#FFFFFF#000000##000000
##EB87DE1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E1
Deuteranopia (green-blind)
#9FAFDB
Tritanopia (blue-blind)
#F38DA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #eb87de;
/* rgb */ color: rgb(235, 135, 222);
/* oklch */ color: oklch(75.9% 0.162 332.0);
Tailwind
colors: {
  custom: {
    50: '#f3ace8',
    500: '#eb87de',
    950: '#000000',
  },
}
SCSS
$custom: #eb87de;
$custom-light: #f3ace8;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87de",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 307.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75876,
    "c": 0.16186,
    "h": 332
  },
  "luminance": 0.40264
}

Semantic roles & 50–950 ramp

primary
#EB87DE
secondary
#D9F2DC
accent
#D32B12
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB87DE

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

Preview Lab → · Contrast checker → · Palette generator →

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