#EB87EF#EB87EF

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

Color values

HEX#EB87EF
RGBrgb(235, 135, 239)
HSLhsl(298, 76%, 73%)
HSVhsv(298, 44%, 94%)
CMYKcmyk(1.7%, 43.5%, 0%, 6.3%)
CIE-LABlab(70.33, 53.20, -36.40)
CIE-LCHlch(70.33, 64.46, 325.62°)
OKLaboklab(76.6% 0.1464 -0.0997)
OKLCHoklch(76.6% 0.177 325.7)
XYZxyz(58.5036, 41.2248, 86.5202)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87EF #8BEF87
analogous
#B787EF #EB87EF #EF87BF
triadic
#EB87EF #EFEB87 #87EFEB
tetradic
#EB87EF #EFB787 #8BEF87 #87BFEF
square
#EB87EF #EFB787 #8BEF87 #87BFEF
split-complementary
#EB87EF #BFEF87 #87EFB7
monochromatic
#D71EDE #E251E8 #EB87EF #F4BDF6 #FAE4FB

Accessibility & contrast

On white

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

On black

9.24
#EB87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87EF
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87EF#FFFFFF#000000##000000
##EB87EF1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#99B0EC
Tritanopia (blue-blind)
#F092B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #eb87ef;
/* rgb */ color: rgb(235, 135, 239);
/* oklch */ color: oklch(76.6% 0.177 325.7);
Tailwind
colors: {
  custom: {
    50: '#f3acf4',
    500: '#eb87ef',
    950: '#000000',
  },
}
SCSS
$custom: #eb87ef;
$custom-light: #f3acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87ef",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 297.692,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76601,
    "c": 0.1771,
    "h": 325.7
  },
  "luminance": 0.41222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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