#EB87FA#EB87FA

#EB87FA is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.1% C 0.188 H 322.2°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#EB87FA
RGBrgb(235, 135, 250)
HSLhsl(292, 92%, 75%)
HSVhsv(292, 46%, 98%)
CMYKcmyk(6%, 46%, 0%, 2%)
CIE-LABlab(70.80, 55.21, -41.69)
CIE-LCHlch(70.80, 69.18, 322.95°)
OKLaboklab(77.1% 0.1483 -0.1149)
OKLCHoklch(77.1% 0.188 322.2)
XYZxyz(60.1784, 41.8947, 95.3405)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87FA #96FA87
analogous
#B187FA #EB87FA #FA87CF
triadic
#EB87FA #FAEB87 #87FAEB
tetradic
#EB87FA #FAB187 #96FA87 #87CFFA
square
#EB87FA #FAB187 #96FA87 #87CFFA
split-complementary
#EB87FA #CFFA87 #87FAB1
monochromatic
#D711F5 #E14CF8 #EB87FA #F5C2FC #FAE2FE

Accessibility & contrast

On white

2.24
#EB87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#EB87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87FA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87FA#FFFFFF#000000##000000
##EB87FA1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#94B1F7
Tritanopia (blue-blind)
#EE95B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87fa;
/* rgb */ color: rgb(235, 135, 250);
/* oklch */ color: oklch(77.1% 0.188 322.2);
Tailwind
colors: {
  custom: {
    50: '#f3adfc',
    500: '#eb87fa',
    950: '#000000',
  },
}
SCSS
$custom: #eb87fa;
$custom-light: #f3adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87fa",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 292.174,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77099,
    "c": 0.18754,
    "h": 322.2
  },
  "luminance": 0.41892
}

Semantic roles & 50–950 ramp

primary
#EB87FA
secondary
#D9F6D5
accent
#E6001E
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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