#EB87FE#EB87FE

#EB87FE is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.3% C 0.191 H 321.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#EB87FE
RGBrgb(235, 135, 254)
HSLhsl(290, 98%, 76%)
HSVhsv(290, 47%, 100%)
CMYKcmyk(7.5%, 46.9%, 0%, 0.4%)
CIE-LABlab(70.97, 55.96, -43.59)
CIE-LCHlch(70.97, 70.94, 322.08°)
OKLaboklab(77.29% 0.1489 -0.1203)
OKLCHoklch(77.29% 0.191 321)
XYZxyz(60.8122, 42.1483, 98.6788)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87FE #9AFE87
analogous
#B087FE #EB87FE #FE87D6
triadic
#EB87FE #FEEB87 #87FEEB
tetradic
#EB87FE #FEB087 #9AFE87 #87D6FE
square
#EB87FE #FEB087 #9AFE87 #87D6FE
split-complementary
#EB87FE #D6FE87 #87FEB0
monochromatic
#D70EFD #E14AFD #EB87FE #F5C4FF #FAE1FF

Accessibility & contrast

On white

2.23
#EB87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#EB87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87FE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87FE#FFFFFF#000000##000000
##EB87FE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#ED96B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #eb87fe;
/* rgb */ color: rgb(235, 135, 254);
/* oklch */ color: oklch(77.3% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#f3adff',
    500: '#eb87fe',
    950: '#000000',
  },
}
SCSS
$custom: #eb87fe;
$custom-light: #f3adff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87fe",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 290.42,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77286,
    "c": 0.19142,
    "h": 321
  },
  "luminance": 0.42146
}

Semantic roles & 50–950 ramp

primary
#EB87FE
secondary
#DAF7D4
accent
#E60025
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EB87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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