#E87BE2#E87BE2

#E87BE2 is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.183 H 329.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#E87BE2
RGBrgb(232, 123, 226)
HSLhsl(303, 70%, 70%)
HSVhsv(303, 47%, 91%)
CMYKcmyk(0%, 47%, 2.6%, 9%)
CIE-LABlab(67.14, 55.99, -34.22)
CIE-LCHlch(67.14, 65.62, 328.57°)
OKLaboklab(73.97% 0.1574 -0.0935)
OKLCHoklch(73.97% 0.183 329.3)
XYZxyz(54.0885, 36.8157, 76.1939)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87BE2 #7BE881
analogous
#B87BE8 #E87BE2 #E87BAB
triadic
#E87BE2 #E2E87B #7BE2E8
tetradic
#E87BE2 #E8B87B #7BE881 #7BABE8
square
#E87BE2 #E8B87B #7BE881 #7BABE8
split-complementary
#E87BE2 #ABE87B #7BE8B8
monochromatic
#C623BD #DF47D7 #E87BE2 #F1AFED #FAE3F9

Accessibility & contrast

On white

2.51
#E87BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#E87BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87BE2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87BE2#FFFFFF#000000##000000
##E87BE21.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#93A9DF
Tritanopia (blue-blind)
#EF85A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e87be2;
/* rgb */ color: rgb(232, 123, 226);
/* oklch */ color: oklch(74.0% 0.183 329.3);
Tailwind
colors: {
  custom: {
    50: '#f1a5eb',
    500: '#e87be2',
    950: '#000000',
  },
}
SCSS
$custom: #e87be2;
$custom-light: #f1a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e87be2",
  "rgb": {
    "r": 232,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 303.303,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73969,
    "c": 0.18301,
    "h": 329.3
  },
  "luminance": 0.36813
}

Semantic roles & 50–950 ramp

primary
#E87BE2
secondary
#D0EFD2
accent
#D21E13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E87BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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