#EB87E4#EB87E4

#EB87E4 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.1% C 0.167 H 329.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#EB87E4
RGBrgb(235, 135, 228)
HSLhsl(304, 71%, 73%)
HSVhsv(304, 43%, 92%)
CMYKcmyk(0%, 42.6%, 3%, 7.8%)
CIE-LABlab(69.89, 51.25, -31.03)
CIE-LCHlch(69.89, 59.91, 328.80°)
OKLaboklab(76.13% 0.1442 -0.0845)
OKLCHoklch(76.13% 0.167 329.6)
XYZxyz(56.9278, 40.5945, 78.2207)
Luminance0.4059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87E4 #87EB8E
analogous
#C087EB #EB87E4 #EB87B2
triadic
#EB87E4 #E4EB87 #87E4EB
tetradic
#EB87E4 #EBC087 #87EB8E #87B2EB
square
#EB87E4 #EBC087 #87EB8E #87B2EB
split-complementary
#EB87E4 #B2EB87 #87EBC0
monochromatic
#D423C8 #E253D8 #EB87E4 #F4BBF0 #FBE5F9

Accessibility & contrast

On white

2.30
#EB87E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#EB87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87E4
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87E4#FFFFFF#000000##000000
##EB87E41.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E7
Deuteranopia (green-blind)
#9DB0E1
Tritanopia (blue-blind)
#F28FAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #eb87e4;
/* rgb */ color: rgb(235, 135, 228);
/* oklch */ color: oklch(76.1% 0.167 329.6);
Tailwind
colors: {
  custom: {
    50: '#f3acec',
    500: '#eb87e4',
    950: '#000000',
  },
}
SCSS
$custom: #eb87e4;
$custom-light: #f3acec;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87e4",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 304.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76125,
    "c": 0.16709,
    "h": 329.6
  },
  "luminance": 0.40592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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