#EB87EE#EB87EE

#EB87EE is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.6% C 0.176 H 326.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#EB87EE
RGBrgb(235, 135, 238)
HSLhsl(298, 75%, 73%)
HSVhsv(298, 43%, 93%)
CMYKcmyk(1.3%, 43.3%, 0%, 6.7%)
CIE-LABlab(70.29, 53.02, -35.91)
CIE-LCHlch(70.29, 64.03, 325.89°)
OKLaboklab(76.56% 0.1462 -0.0983)
OKLCHoklch(76.56% 0.176 326.1)
XYZxyz(58.3563, 41.1659, 85.7443)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87EE #8AEE87
analogous
#B787EE #EB87EE #EE87BE
triadic
#EB87EE #EEEB87 #87EEEB
tetradic
#EB87EE #EEB787 #8AEE87 #87BEEE
square
#EB87EE #EEB787 #8AEE87 #87BEEE
split-complementary
#EB87EE #BEEE87 #87EEB7
monochromatic
#D61FDC #E251E6 #EB87EE #F4BDF6 #FBE4FB

Accessibility & contrast

On white

2.27
#EB87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#EB87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87EE
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87EE#FFFFFF#000000##000000
##EB87EE1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#99B0EB
Tritanopia (blue-blind)
#F092AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #eb87ee;
/* rgb */ color: rgb(235, 135, 238);
/* oklch */ color: oklch(76.6% 0.176 326.1);
Tailwind
colors: {
  custom: {
    50: '#f3acf4',
    500: '#eb87ee',
    950: '#000000',
  },
}
SCSS
$custom: #eb87ee;
$custom-light: #f3acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87ee",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 298.252,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76556,
    "c": 0.17617,
    "h": 326.1
  },
  "luminance": 0.41163
}

Semantic roles & 50–950 ramp

primary
#EB87EE
secondary
#D9F3D8
accent
#D70E14
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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