#EB87F5#EB87F5

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

Color values

HEX#EB87F5
RGBrgb(235, 135, 245)
HSLhsl(295, 85%, 75%)
HSVhsv(295, 45%, 96%)
CMYKcmyk(4.1%, 44.9%, 0%, 3.9%)
CIE-LABlab(70.58, 54.29, -39.29)
CIE-LCHlch(70.58, 67.01, 324.11°)
OKLaboklab(76.87% 0.1474 -0.108)
OKLCHoklch(76.87% 0.183 323.8)
XYZxyz(59.4048, 41.5853, 91.2661)
Luminance0.4158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F5 #91F587
analogous
#B487F5 #EB87F5 #F587C8
triadic
#EB87F5 #F5EB87 #87F5EB
tetradic
#EB87F5 #F5B487 #91F587 #87C8F5
square
#EB87F5 #F5B487 #91F587 #87C8F5
split-complementary
#EB87F5 #C8F587 #87F5B4
monochromatic
#D816EC #E24FF0 #EB87F5 #F4BFFA #FAE3FD

Accessibility & contrast

On white

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

On black

9.32
#EB87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F5
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F5#FFFFFF#000000##000000
##EB87F51.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F9
Deuteranopia (green-blind)
#96B1F2
Tritanopia (blue-blind)
#EF94B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87f5;
/* rgb */ color: rgb(235, 135, 245);
/* oklch */ color: oklch(76.9% 0.183 323.8);
Tailwind
colors: {
  custom: {
    50: '#f3adf9',
    500: '#eb87f5',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f5;
$custom-light: #f3adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f5",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 294.545,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7687,
    "c": 0.18275,
    "h": 323.8
  },
  "luminance": 0.41583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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