#E87EFB#E87EFB

#E87EFB is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.5% C 0.201 H 321.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#E87EFB
RGBrgb(232, 126, 251)
HSLhsl(291, 94%, 74%)
HSVhsv(291, 50%, 98%)
CMYKcmyk(7.6%, 49.8%, 0%, 1.6%)
CIE-LABlab(68.78, 59.02, -45.41)
CIE-LCHlch(68.78, 74.47, 322.42°)
OKLaboklab(75.54% 0.1571 -0.1256)
OKLCHoklch(75.54% 0.201 321.4)
XYZxyz(58.1502, 39.0450, 95.7215)
Luminance0.3904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87EFB #91FB7E
analogous
#AA7EFB #E87EFB #FB7ED0
triadic
#E87EFB #FBE87E #7EFBE8
tetradic
#E87EFB #FBAA7E #91FB7E #7ED0FB
square
#E87EFB #FBAA7E #91FB7E #7ED0FB
split-complementary
#E87EFB #D0FB7E #7EFBAA
monochromatic
#D308F7 #DD43F9 #E87EFB #F3B9FD #FAE1FE

Accessibility & contrast

On white

2.38
#E87EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#E87EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87EFB
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87EFB#FFFFFF#000000##000000
##E87EFB1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#8AACF7
Tritanopia (blue-blind)
#EA8FB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e87efb;
/* rgb */ color: rgb(232, 126, 251);
/* oklch */ color: oklch(75.5% 0.201 321.4);
Tailwind
colors: {
  custom: {
    50: '#f2a7fd',
    500: '#e87efb',
    950: '#000000',
  },
}
SCSS
$custom: #e87efb;
$custom-light: #f2a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e87efb",
  "rgb": {
    "r": 232,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 290.88,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75544,
    "c": 0.20115,
    "h": 321.4
  },
  "luminance": 0.39043
}

Semantic roles & 50–950 ramp

primary
#E87EFB
secondary
#DAF6D5
accent
#E60023
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E87EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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