#E887F8#E887F8

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

Color values

HEX#E887F8
RGBrgb(232, 135, 248)
HSLhsl(292, 89%, 75%)
HSVhsv(292, 46%, 97%)
CMYKcmyk(6.5%, 45.6%, 0%, 2.7%)
CIE-LABlab(70.36, 54.00, -41.31)
CIE-LCHlch(70.36, 67.99, 322.59°)
OKLaboklab(76.67% 0.1446 -0.1138)
OKLCHoklch(76.67% 0.184 321.8)
XYZxyz(58.8841, 41.2634, 93.6516)
Luminance0.4126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E887F8 #97F887
analogous
#AF87F8 #E887F8 #F887D0
triadic
#E887F8 #F8E887 #87F8E8
tetradic
#E887F8 #F8AF87 #97F887 #87D0F8
square
#E887F8 #F8AF87 #97F887 #87D0F8
split-complementary
#E887F8 #D0F887 #87F8AF
monochromatic
#D213F1 #DD4DF5 #E887F8 #F3C1FB #F9E2FD

Accessibility & contrast

On white

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

On black

9.25
#E887F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E887F8
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E887F8#FFFFFF#000000##000000
##E887F81.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#EA95B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e887f8;
/* rgb */ color: rgb(232, 135, 248);
/* oklch */ color: oklch(76.7% 0.184 321.8);
Tailwind
colors: {
  custom: {
    50: '#f1acfb',
    500: '#e887f8',
    950: '#000000',
  },
}
SCSS
$custom: #e887f8;
$custom-light: #f1acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#e887f8",
  "rgb": {
    "r": 232,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 291.504,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76669,
    "c": 0.18399,
    "h": 321.8
  },
  "luminance": 0.41261
}

Semantic roles & 50–950 ramp

primary
#E887F8
secondary
#DAF5D6
accent
#E60020
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E887F8

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

Preview Lab → · Contrast checker → · Palette generator →

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