#EB87F1#EB87F1

#EB87F1 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.7% C 0.179 H 325.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#EB87F1
RGBrgb(235, 135, 241)
HSLhsl(297, 79%, 74%)
HSVhsv(297, 44%, 95%)
CMYKcmyk(2.5%, 44%, 0%, 5.5%)
CIE-LABlab(70.42, 53.56, -37.36)
CIE-LCHlch(70.42, 65.30, 325.10°)
OKLaboklab(76.69% 0.1467 -0.1025)
OKLCHoklch(76.69% 0.179 325.1)
XYZxyz(58.8007, 41.3437, 88.0849)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F1 #8DF187
analogous
#B687F1 #EB87F1 #F187C2
triadic
#EB87F1 #F1EB87 #87F1EB
tetradic
#EB87F1 #F1B687 #8DF187 #87C2F1
square
#EB87F1 #F1B687 #8DF187 #87C2F1
split-complementary
#EB87F1 #C2F187 #87F1B6
monochromatic
#D81AE3 #E250EB #EB87F1 #F4BEF7 #FAE4FC

Accessibility & contrast

On white

2.27
#EB87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#EB87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F1#FFFFFF#000000##000000
##EB87F11.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F5
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#EF93B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #eb87f1;
/* rgb */ color: rgb(235, 135, 241);
/* oklch */ color: oklch(76.7% 0.179 325.1);
Tailwind
colors: {
  custom: {
    50: '#f3adf6',
    500: '#eb87f1',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f1;
$custom-light: #f3adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f1",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 296.604,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7669,
    "c": 0.17897,
    "h": 325.1
  },
  "luminance": 0.41341
}

Semantic roles & 50–950 ramp

primary
#EB87F1
secondary
#D9F4D7
accent
#DB0A16
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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