#E786DC#E786DC

#E786DC is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.2% C 0.159 H 331.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#E786DC
RGBrgb(231, 134, 220)
HSLhsl(307, 67%, 72%)
HSVhsv(307, 42%, 91%)
CMYKcmyk(0%, 42%, 4.8%, 9.4%)
CIE-LABlab(68.90, 49.17, -28.18)
CIE-LCHlch(68.90, 56.67, 330.18°)
OKLaboklab(75.18% 0.1394 -0.0764)
OKLCHoklch(75.18% 0.159 331.3)
XYZxyz(54.3978, 39.2093, 72.3991)
Luminance0.3921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786DC #86E791
analogous
#C286E7 #E786DC #E786AC
triadic
#E786DC #DCE786 #86DCE7
tetradic
#E786DC #E7C286 #86E791 #86ACE7
square
#E786DC #E7C286 #86E791 #86ACE7
split-complementary
#E786DC #ACE786 #86E7C2
monochromatic
#CA28B8 #DD53CD #E786DC #F1B9EB #FAE5F8

Accessibility & contrast

On white

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

On black

8.84
#E786DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786DC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786DC#FFFFFF#000000##000000
##E786DC1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#9DADD9
Tritanopia (blue-blind)
#EE8DA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e786dc;
/* rgb */ color: rgb(231, 134, 220);
/* oklch */ color: oklch(75.2% 0.159 331.3);
Tailwind
colors: {
  custom: {
    50: '#f0abe7',
    500: '#e786dc',
    950: '#000000',
  },
}
SCSS
$custom: #e786dc;
$custom-light: #f0abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#e786dc",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 306.804,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75181,
    "c": 0.15898,
    "h": 331.3
  },
  "luminance": 0.39206
}

Semantic roles & 50–950 ramp

primary
#E786DC
secondary
#D8F1DB
accent
#CF2C17
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E786DC

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

Preview Lab → · Contrast checker → · Palette generator →

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