#EB87DC#EB87DC

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

Color values

HEX#EB87DC
RGBrgb(235, 135, 220)
HSLhsl(309, 71%, 73%)
HSVhsv(309, 43%, 92%)
CMYKcmyk(0%, 42.6%, 6.4%, 7.8%)
CIE-LABlab(69.58, 49.88, -27.09)
CIE-LCHlch(69.58, 56.76, 331.49°)
OKLaboklab(75.79% 0.1424 -0.0733)
OKLCHoklch(75.79% 0.16 332.8)
XYZxyz(55.8428, 40.1605, 72.5066)
Luminance0.4016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87DC #87EB96
analogous
#C887EB #EB87DC #EB87AA
triadic
#EB87DC #DCEB87 #87DCEB
tetradic
#EB87DC #EBC887 #87EB96 #87AAEB
square
#EB87DC #EBC887 #87EB96 #87AAEB
split-complementary
#EB87DC #AAEB87 #87EBC8
monochromatic
#D423BA #E253CD #EB87DC #F4BBEB #FBE5F7

Accessibility & contrast

On white

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

On black

9.03
#EB87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87DC
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87DC#FFFFFF#000000##000000
##EB87DC1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eb87dc;
/* rgb */ color: rgb(235, 135, 220);
/* oklch */ color: oklch(75.8% 0.160 332.8);
Tailwind
colors: {
  custom: {
    50: '#f3ace7',
    500: '#eb87dc',
    950: '#000000',
  },
}
SCSS
$custom: #eb87dc;
$custom-light: #f3ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87dc",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 309,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75794,
    "c": 0.16016,
    "h": 332.8
  },
  "luminance": 0.40157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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