#E87CFB#E87CFB

#E87CFB is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.3% C 0.204 H 321.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#E87CFB
RGBrgb(232, 124, 251)
HSLhsl(291, 94%, 74%)
HSVhsv(291, 51%, 98%)
CMYKcmyk(7.6%, 50.6%, 0%, 1.6%)
CIE-LABlab(68.42, 59.99, -45.99)
CIE-LCHlch(68.42, 75.59, 322.52°)
OKLaboklab(75.27% 0.1598 -0.1273)
OKLCHoklch(75.27% 0.204 321.5)
XYZxyz(57.8970, 38.5387, 95.6371)
Luminance0.3854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87CFB #8FFB7C
analogous
#A87CFB #E87CFB #FB7CCE
triadic
#E87CFB #FBE87C #7CFBE8
tetradic
#E87CFB #FBA87C #8FFB7C #7CCEFB
square
#E87CFB #FBA87C #8FFB7C #7CCEFB
split-complementary
#E87CFB #CEFB7C #7CFBA8
monochromatic
#D207F5 #DE41F9 #E87CFB #F2B7FD #FAE1FE

Accessibility & contrast

On white

2.41
#E87CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#E87CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87CFB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87CFB#FFFFFF#000000##000000
##E87CFB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#EA8DB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e87cfb;
/* rgb */ color: rgb(232, 124, 251);
/* oklch */ color: oklch(75.3% 0.204 321.5);
Tailwind
colors: {
  custom: {
    50: '#f2a6fd',
    500: '#e87cfb',
    950: '#000000',
  },
}
SCSS
$custom: #e87cfb;
$custom-light: #f2a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e87cfb",
  "rgb": {
    "r": 232,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 291.024,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75272,
    "c": 0.20425,
    "h": 321.5
  },
  "luminance": 0.38536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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