#E786DB#E786DB

#E786DB is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.1% C 0.158 H 331.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#E786DB
RGBrgb(231, 134, 219)
HSLhsl(307, 67%, 72%)
HSVhsv(307, 42%, 91%)
CMYKcmyk(0%, 42%, 5.2%, 9.4%)
CIE-LABlab(68.86, 49.00, -27.69)
CIE-LCHlch(68.86, 56.28, 330.53°)
OKLaboklab(75.14% 0.1392 -0.075)
OKLCHoklch(75.14% 0.158 331.7)
XYZxyz(54.2658, 39.1565, 71.7037)
Luminance0.3915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786DB #86E792
analogous
#C386E7 #E786DB #E786AB
triadic
#E786DB #DBE786 #86DBE7
tetradic
#E786DB #E7C386 #86E792 #86ABE7
square
#E786DB #E7C386 #86E792 #86ABE7
split-complementary
#E786DB #ABE786 #86E7C3
monochromatic
#CA28B6 #DD53CC #E786DB #F1B9EA #FAE5F7

Accessibility & contrast

On white

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

On black

8.83
#E786DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786DB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786DB#FFFFFF#000000##000000
##E786DB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0DE
Deuteranopia (green-blind)
#9DADD8
Tritanopia (blue-blind)
#EE8CA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e786db;
/* rgb */ color: rgb(231, 134, 219);
/* oklch */ color: oklch(75.1% 0.158 331.7);
Tailwind
colors: {
  custom: {
    50: '#f0abe6',
    500: '#e786db',
    950: '#000000',
  },
}
SCSS
$custom: #e786db;
$custom-light: #f0abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#e786db",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 219
  },
  "hsl": {
    "h": 307.423,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7514,
    "c": 0.15811,
    "h": 331.7
  },
  "luminance": 0.39154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E786DB

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

Preview Lab → · Contrast checker → · Palette generator →

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