#EB87F7#EB87F7

#EB87F7 is a light, vivid purple. Relative luminance 0.417; OKLCH L 77.0% C 0.185 H 323.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#EB87F7
RGBrgb(235, 135, 247)
HSLhsl(294, 88%, 75%)
HSVhsv(294, 45%, 97%)
CMYKcmyk(4.9%, 45.3%, 0%, 3.1%)
CIE-LABlab(70.67, 54.66, -40.25)
CIE-LCHlch(70.67, 67.88, 323.63°)
OKLaboklab(76.96% 0.1478 -0.1107)
OKLCHoklch(76.96% 0.185 323.2)
XYZxyz(59.7117, 41.7081, 92.8828)
Luminance0.4171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F7 #93F787
analogous
#B387F7 #EB87F7 #F787CB
triadic
#EB87F7 #F7EB87 #87F7EB
tetradic
#EB87F7 #F7B387 #93F787 #87CBF7
square
#EB87F7 #F7B387 #93F787 #87CBF7
split-complementary
#EB87F7 #CBF787 #87F7B3
monochromatic
#D814EF #E14EF3 #EB87F7 #F5C0FB #FAE2FD

Accessibility & contrast

On white

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

On black

9.34
#EB87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F7
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F7#FFFFFF#000000##000000
##EB87F71.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#95B1F4
Tritanopia (blue-blind)
#EE94B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87f7;
/* rgb */ color: rgb(235, 135, 247);
/* oklch */ color: oklch(77.0% 0.185 323.2);
Tailwind
colors: {
  custom: {
    50: '#f3adfa',
    500: '#eb87f7',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f7;
$custom-light: #f3adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f7",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 293.571,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76961,
    "c": 0.18466,
    "h": 323.2
  },
  "luminance": 0.41706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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