#EB87F6#EB87F6

#EB87F6 is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.9% C 0.184 H 323.5°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#EB87F6
RGBrgb(235, 135, 246)
HSLhsl(294, 86%, 75%)
HSVhsv(294, 45%, 96%)
CMYKcmyk(4.5%, 45.1%, 0%, 3.5%)
CIE-LABlab(70.63, 54.47, -39.77)
CIE-LCHlch(70.63, 67.45, 323.87°)
OKLaboklab(76.92% 0.1476 -0.1094)
OKLCHoklch(76.92% 0.184 323.5)
XYZxyz(59.5578, 41.6465, 92.0723)
Luminance0.4164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F6 #92F687
analogous
#B487F6 #EB87F6 #F687CA
triadic
#EB87F6 #F6EB87 #87F6EB
tetradic
#EB87F6 #F6B487 #92F687 #87CAF6
square
#EB87F6 #F6B487 #92F687 #87CAF6
split-complementary
#EB87F6 #CAF687 #87F6B4
monochromatic
#D815ED #E24EF2 #EB87F6 #F4C0FA #FAE3FD

Accessibility & contrast

On white

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

On black

9.33
#EB87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F6
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F6#FFFFFF#000000##000000
##EB87F61.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#96B1F3
Tritanopia (blue-blind)
#EF94B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87f6;
/* rgb */ color: rgb(235, 135, 246);
/* oklch */ color: oklch(76.9% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#f3adf9',
    500: '#eb87f6',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f6;
$custom-light: #f3adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f6",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 294.054,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76915,
    "c": 0.18371,
    "h": 323.5
  },
  "luminance": 0.41644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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