#EB87DD#EB87DD

#EB87DD is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.8% C 0.161 H 332.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#EB87DD
RGBrgb(235, 135, 221)
HSLhsl(308, 71%, 73%)
HSVhsv(308, 43%, 92%)
CMYKcmyk(0%, 42.6%, 6%, 7.8%)
CIE-LABlab(69.62, 50.05, -27.59)
CIE-LCHlch(69.62, 57.15, 331.14°)
OKLaboklab(75.83% 0.1426 -0.0747)
OKLCHoklch(75.83% 0.161 332.3)
XYZxyz(55.9757, 40.2137, 73.2062)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87DD #87EB95
analogous
#C787EB #EB87DD #EB87AB
triadic
#EB87DD #DDEB87 #87DDEB
tetradic
#EB87DD #EBC787 #87EB95 #87ABEB
square
#EB87DD #EBC787 #87EB95 #87ABEB
split-complementary
#EB87DD #ABEB87 #87EBC7
monochromatic
#D423BB #E253CE #EB87DD #F4BBEC #FBE5F8

Accessibility & contrast

On white

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

On black

9.04
#EB87DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87DD
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87DD#FFFFFF#000000##000000
##EB87DD1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1E0
Deuteranopia (green-blind)
#9FAFDA
Tritanopia (blue-blind)
#F38DA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #eb87dd;
/* rgb */ color: rgb(235, 135, 221);
/* oklch */ color: oklch(75.8% 0.161 332.3);
Tailwind
colors: {
  custom: {
    50: '#f3ace7',
    500: '#eb87dd',
    950: '#000000',
  },
}
SCSS
$custom: #eb87dd;
$custom-light: #f3ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87dd",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 308.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75835,
    "c": 0.16101,
    "h": 332.3
  },
  "luminance": 0.40211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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