#EB87EA#EB87EA

#EB87EA is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.4% C 0.172 H 327.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#EB87EA
RGBrgb(235, 135, 234)
HSLhsl(301, 71%, 73%)
HSVhsv(301, 43%, 92%)
CMYKcmyk(0%, 42.6%, 0.4%, 7.8%)
CIE-LABlab(70.13, 52.30, -33.97)
CIE-LCHlch(70.13, 62.36, 327.00°)
OKLaboklab(76.38% 0.1454 -0.0928)
OKLCHoklch(76.38% 0.172 327.5)
XYZxyz(57.7752, 40.9335, 82.6837)
Luminance0.4093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87EA #87EB88
analogous
#BA87EB #EB87EA #EB87B8
triadic
#EB87EA #EAEB87 #87EAEB
tetradic
#EB87EA #EBBA87 #87EB88 #87B8EB
square
#EB87EA #EBBA87 #87EB88 #87B8EB
split-complementary
#EB87EA #B8EB87 #87EBBA
monochromatic
#D423D2 #E253E1 #EB87EA #F4BBF3 #FBE5FA

Accessibility & contrast

On white

2.29
#EB87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#EB87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87EA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87EA#FFFFFF#000000##000000
##EB87EA1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#9BB0E7
Tritanopia (blue-blind)
#F191AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #eb87ea;
/* rgb */ color: rgb(235, 135, 234);
/* oklch */ color: oklch(76.4% 0.172 327.5);
Tailwind
colors: {
  custom: {
    50: '#f3acf1',
    500: '#eb87ea',
    950: '#000000',
  },
}
SCSS
$custom: #eb87ea;
$custom-light: #f3acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87ea",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 300.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76382,
    "c": 0.17249,
    "h": 327.5
  },
  "luminance": 0.40931
}

Semantic roles & 50–950 ramp

primary
#EB87EA
secondary
#D9F2D9
accent
#D31412
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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