#EB87E1#EB87E1

#EB87E1 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.0% C 0.164 H 330.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#EB87E1
RGBrgb(235, 135, 225)
HSLhsl(306, 71%, 73%)
HSVhsv(306, 43%, 92%)
CMYKcmyk(0%, 42.6%, 4.3%, 7.8%)
CIE-LABlab(69.77, 50.73, -29.56)
CIE-LCHlch(69.77, 58.71, 329.77°)
OKLaboklab(76% 0.1435 -0.0803)
OKLCHoklch(76% 0.164 330.8)
XYZxyz(56.5149, 40.4294, 76.0464)
Luminance0.4043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87E1 #87EB91
analogous
#C387EB #EB87E1 #EB87AF
triadic
#EB87E1 #E1EB87 #87E1EB
tetradic
#EB87E1 #EBC387 #87EB91 #87AFEB
square
#EB87E1 #EBC387 #87EB91 #87AFEB
split-complementary
#EB87E1 #AFEB87 #87EBC3
monochromatic
#D423C3 #E253D4 #EB87E1 #F4BBEE #FBE5F8

Accessibility & contrast

On white

2.31
#EB87E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#EB87E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87E1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87E1#FFFFFF#000000##000000
##EB87E11.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E4
Deuteranopia (green-blind)
#9EAFDE
Tritanopia (blue-blind)
#F28EAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #eb87e1;
/* rgb */ color: rgb(235, 135, 225);
/* oklch */ color: oklch(76.0% 0.164 330.8);
Tailwind
colors: {
  custom: {
    50: '#f3acea',
    500: '#eb87e1',
    950: '#000000',
  },
}
SCSS
$custom: #eb87e1;
$custom-light: #f3acea;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87e1",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 306,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76,
    "c": 0.16445,
    "h": 330.8
  },
  "luminance": 0.40426
}

Semantic roles & 50–950 ramp

primary
#EB87E1
secondary
#D9F2DB
accent
#D32512
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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