#E87FEB#E87FEB

#E87FEB is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.185 H 326.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#E87FEB
RGBrgb(232, 127, 235)
HSLhsl(298, 73%, 71%)
HSVhsv(298, 46%, 92%)
CMYKcmyk(1.3%, 46%, 0%, 7.8%)
CIE-LABlab(68.27, 55.60, -37.44)
CIE-LCHlch(68.27, 67.03, 326.05°)
OKLaboklab(74.93% 0.1534 -0.1027)
OKLCHoklch(74.93% 0.185 326.2)
XYZxyz(55.8623, 38.3355, 83.0382)
Luminance0.3833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FEB #82EB7F
analogous
#B27FEB #E87FEB #EB7FB8
triadic
#E87FEB #EBE87F #7FEBE8
tetradic
#E87FEB #EBB27F #82EB7F #7FB8EB
square
#E87FEB #EBB27F #82EB7F #7FB8EB
split-complementary
#E87FEB #B8EB7F #7FEBB2
monochromatic
#CA20CF #DE4AE3 #E87FEB #F2B4F3 #FAE5FB

Accessibility & contrast

On white

2.42
#E87FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#E87FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FEB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FEB#FFFFFF#000000##000000
##E87FEB1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#93ABE8
Tritanopia (blue-blind)
#ED8BAA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e87feb;
/* rgb */ color: rgb(232, 127, 235);
/* oklch */ color: oklch(74.9% 0.185 326.2);
Tailwind
colors: {
  custom: {
    50: '#f1a7f1',
    500: '#e87feb',
    950: '#000000',
  },
}
SCSS
$custom: #e87feb;
$custom-light: #f1a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e87feb",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 298.333,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74931,
    "c": 0.1846,
    "h": 326.2
  },
  "luminance": 0.38333
}

Semantic roles & 50–950 ramp

primary
#E87FEB
secondary
#D5F1D5
accent
#D51016
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E87FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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