#EB87F3#EB87F3

#EB87F3 is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.8% C 0.181 H 324.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#EB87F3
RGBrgb(235, 135, 243)
HSLhsl(296, 82%, 74%)
HSVhsv(296, 44%, 95%)
CMYKcmyk(3.3%, 44.4%, 0%, 4.7%)
CIE-LABlab(70.50, 53.92, -38.33)
CIE-LCHlch(70.50, 66.16, 324.59°)
OKLaboklab(76.78% 0.1471 -0.1052)
OKLCHoklch(76.78% 0.181 324.4)
XYZxyz(59.1011, 41.4638, 89.6668)
Luminance0.4146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F3 #8FF387
analogous
#B587F3 #EB87F3 #F387C5
triadic
#EB87F3 #F3EB87 #87F3EB
tetradic
#EB87F3 #F3B587 #8FF387 #87C5F3
square
#EB87F3 #F3B587 #8FF387 #87C5F3
split-complementary
#EB87F3 #C5F387 #87F3B5
monochromatic
#D818E8 #E24FED #EB87F3 #F4BFF9 #FAE3FC

Accessibility & contrast

On white

2.26
#EB87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#EB87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F3#FFFFFF#000000##000000
##EB87F31.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F7
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#EF93B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #eb87f3;
/* rgb */ color: rgb(235, 135, 243);
/* oklch */ color: oklch(76.8% 0.181 324.4);
Tailwind
colors: {
  custom: {
    50: '#f3adf7',
    500: '#eb87f3',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f3;
$custom-light: #f3adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f3",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 295.556,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76779,
    "c": 0.18086,
    "h": 324.4
  },
  "luminance": 0.41461
}

Semantic roles & 50–950 ramp

primary
#EB87F3
secondary
#D9F4D7
accent
#DE0717
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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