#EB87F2#EB87F2

#EB87F2 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.180 H 324.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#EB87F2
RGBrgb(235, 135, 242)
HSLhsl(296, 80%, 74%)
HSVhsv(296, 44%, 95%)
CMYKcmyk(2.9%, 44.2%, 0%, 5.1%)
CIE-LABlab(70.46, 53.74, -37.85)
CIE-LCHlch(70.46, 65.73, 324.85°)
OKLaboklab(76.73% 0.1469 -0.1038)
OKLCHoklch(76.73% 0.18 324.7)
XYZxyz(58.9505, 41.4036, 88.8737)
Luminance0.4140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F2 #8EF287
analogous
#B687F2 #EB87F2 #F287C4
triadic
#EB87F2 #F2EB87 #87F2EB
tetradic
#EB87F2 #F2B687 #8EF287 #87C4F2
square
#EB87F2 #F2B687 #8EF287 #87C4F2
split-complementary
#EB87F2 #C4F287 #87F2B6
monochromatic
#D819E6 #E250EC #EB87F2 #F4BEF8 #FAE3FC

Accessibility & contrast

On white

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

On black

9.28
#EB87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F2#FFFFFF#000000##000000
##EB87F21.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#97B1EF
Tritanopia (blue-blind)
#EF93B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #eb87f2;
/* rgb */ color: rgb(235, 135, 242);
/* oklch */ color: oklch(76.7% 0.180 324.7);
Tailwind
colors: {
  custom: {
    50: '#f3adf6',
    500: '#eb87f2',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f2;
$custom-light: #f3adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f2",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 296.075,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76734,
    "c": 0.17991,
    "h": 324.7
  },
  "luminance": 0.41401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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