#EB87FC#EB87FC

#EB87FC is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.2% C 0.189 H 321.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#EB87FC
RGBrgb(235, 135, 252)
HSLhsl(291, 95%, 76%)
HSVhsv(291, 46%, 99%)
CMYKcmyk(6.7%, 46.4%, 0%, 1.2%)
CIE-LABlab(70.89, 55.59, -42.64)
CIE-LCHlch(70.89, 70.06, 322.51°)
OKLaboklab(77.19% 0.1486 -0.1176)
OKLCHoklch(77.19% 0.189 321.6)
XYZxyz(60.4936, 42.0209, 97.0009)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87FC #98FC87
analogous
#B087FC #EB87FC #FC87D2
triadic
#EB87FC #FCEB87 #87FCEB
tetradic
#EB87FC #FCB087 #98FC87 #87D2FC
square
#EB87FC #FCB087 #98FC87 #87D2FC
split-complementary
#EB87FC #D2FC87 #87FCB0
monochromatic
#D710F9 #E14BFB #EB87FC #F5C3FD #FAE1FE

Accessibility & contrast

On white

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

On black

9.40
#EB87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87FC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87FC#FFFFFF#000000##000000
##EB87FC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#93B1F9
Tritanopia (blue-blind)
#ED96B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87fc;
/* rgb */ color: rgb(235, 135, 252);
/* oklch */ color: oklch(77.2% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#f3adfe',
    500: '#eb87fc',
    950: '#000000',
  },
}
SCSS
$custom: #eb87fc;
$custom-light: #f3adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87fc",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 291.282,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77192,
    "c": 0.18948,
    "h": 321.6
  },
  "luminance": 0.42018
}

Semantic roles & 50–950 ramp

primary
#EB87FC
secondary
#D9F6D5
accent
#E60021
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EB87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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