#E786DF#E786DF

#E786DF is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.3% C 0.162 H 330.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#E786DF
RGBrgb(231, 134, 223)
HSLhsl(305, 67%, 72%)
HSVhsv(305, 42%, 91%)
CMYKcmyk(0%, 42%, 3.5%, 9.4%)
CIE-LABlab(69.02, 49.69, -29.66)
CIE-LCHlch(69.02, 57.87, 329.17°)
OKLaboklab(75.31% 0.1401 -0.0806)
OKLCHoklch(75.31% 0.162 330.1)
XYZxyz(54.7987, 39.3697, 74.5104)
Luminance0.3937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786DF #86E78E
analogous
#BF86E7 #E786DF #E786AF
triadic
#E786DF #DFE786 #86DFE7
tetradic
#E786DF #E7BF86 #86E78E #86AFE7
square
#E786DF #E7BF86 #86E78E #86AFE7
split-complementary
#E786DF #AFE786 #86E7BF
monochromatic
#CA28BD #DD53D1 #E786DF #F1B9ED #FAE5F8

Accessibility & contrast

On white

2.37
#E786DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#E786DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786DF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786DF#FFFFFF#000000##000000
##E786DF1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E2
Deuteranopia (green-blind)
#9CADDC
Tritanopia (blue-blind)
#EE8DA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e786df;
/* rgb */ color: rgb(231, 134, 223);
/* oklch */ color: oklch(75.3% 0.162 330.1);
Tailwind
colors: {
  custom: {
    50: '#f0abe9',
    500: '#e786df',
    950: '#000000',
  },
}
SCSS
$custom: #e786df;
$custom-light: #f0abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#e786df",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 304.948,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75305,
    "c": 0.16162,
    "h": 330.1
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#E786DF
secondary
#D8F1DA
accent
#CF2617
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E786DF

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

Preview Lab → · Contrast checker → · Palette generator →

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