#EB87E2#EB87E2

#EB87E2 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.0% C 0.165 H 330.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#EB87E2
RGBrgb(235, 135, 226)
HSLhsl(305, 71%, 73%)
HSVhsv(305, 43%, 92%)
CMYKcmyk(0%, 42.6%, 3.8%, 7.8%)
CIE-LABlab(69.81, 50.90, -30.05)
CIE-LCHlch(69.81, 59.11, 329.44°)
OKLaboklab(76.04% 0.1437 -0.0817)
OKLCHoklch(76.04% 0.165 330.4)
XYZxyz(56.6517, 40.4841, 76.7670)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87E2 #87EB90
analogous
#C287EB #EB87E2 #EB87B0
triadic
#EB87E2 #E2EB87 #87E2EB
tetradic
#EB87E2 #EBC287 #87EB90 #87B0EB
square
#EB87E2 #EBC287 #87EB90 #87B0EB
split-complementary
#EB87E2 #B0EB87 #87EBC2
monochromatic
#D423C4 #E253D5 #EB87E2 #F4BBEF #FBE5F9

Accessibility & contrast

On white

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

On black

9.10
#EB87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87E2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87E2#FFFFFF#000000##000000
##EB87E21.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#9EB0DF
Tritanopia (blue-blind)
#F28FAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #eb87e2;
/* rgb */ color: rgb(235, 135, 226);
/* oklch */ color: oklch(76.0% 0.165 330.4);
Tailwind
colors: {
  custom: {
    50: '#f3aceb',
    500: '#eb87e2',
    950: '#000000',
  },
}
SCSS
$custom: #eb87e2;
$custom-light: #f3aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87e2",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 305.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76041,
    "c": 0.16533,
    "h": 330.4
  },
  "luminance": 0.40481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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