#EB87F8#EB87F8

#EB87F8 is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.0% C 0.186 H 322.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#EB87F8
RGBrgb(235, 135, 248)
HSLhsl(293, 89%, 75%)
HSVhsv(293, 46%, 97%)
CMYKcmyk(5.2%, 45.6%, 0%, 2.7%)
CIE-LABlab(70.71, 54.84, -40.73)
CIE-LCHlch(70.71, 68.31, 323.40°)
OKLaboklab(77.01% 0.1479 -0.1121)
OKLCHoklch(77.01% 0.186 322.8)
XYZxyz(59.8664, 41.7700, 93.6977)
Luminance0.4177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F8 #94F887
analogous
#B287F8 #EB87F8 #F887CD
triadic
#EB87F8 #F8EB87 #87F8EB
tetradic
#EB87F8 #F8B287 #94F887 #87CDF8
square
#EB87F8 #F8B287 #94F887 #87CDF8
split-complementary
#EB87F8 #CDF887 #87F8B2
monochromatic
#D813F1 #E14DF5 #EB87F8 #F5C1FB #FAE2FD

Accessibility & contrast

On white

2.25
#EB87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#EB87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F8
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F8#FFFFFF#000000##000000
##EB87F81.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#95B1F5
Tritanopia (blue-blind)
#EE95B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87f8;
/* rgb */ color: rgb(235, 135, 248);
/* oklch */ color: oklch(77.0% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#f3adfb',
    500: '#eb87f8',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f8;
$custom-light: #f3adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f8",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 293.097,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77007,
    "c": 0.18562,
    "h": 322.8
  },
  "luminance": 0.41767
}

Semantic roles & 50–950 ramp

primary
#EB87F8
secondary
#D9F5D6
accent
#E6001A
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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