#E781DB#E781DB

#E781DB is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.4% C 0.166 H 331.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#E781DB
RGBrgb(231, 129, 219)
HSLhsl(307, 68%, 71%)
HSVhsv(307, 44%, 91%)
CMYKcmyk(0%, 44.2%, 5.2%, 9.4%)
CIE-LABlab(67.88, 51.52, -29.20)
CIE-LCHlch(67.88, 59.23, 330.46°)
OKLaboklab(74.4% 0.1464 -0.0793)
OKLCHoklch(74.4% 0.166 331.6)
XYZxyz(53.5910, 37.8069, 71.4788)
Luminance0.3780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781DB #81E78D
analogous
#C081E7 #E781DB #E781A8
triadic
#E781DB #DBE781 #81DBE7
tetradic
#E781DB #E7C081 #81E78D #81A8E7
square
#E781DB #E7C081 #81E78D #81A8E7
split-complementary
#E781DB #A8E781 #81E7C0
monochromatic
#C826B5 #DD4ECC #E781DB #F1B4EA #FAE5F8

Accessibility & contrast

On white

2.45
#E781DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#E781DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781DB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781DB#FFFFFF#000000##000000
##E781DB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDE
Deuteranopia (green-blind)
#9AABD8
Tritanopia (blue-blind)
#EF88A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e781db;
/* rgb */ color: rgb(231, 129, 219);
/* oklch */ color: oklch(74.4% 0.166 331.6);
Tailwind
colors: {
  custom: {
    50: '#f0a8e6',
    500: '#e781db',
    950: '#000000',
  },
}
SCSS
$custom: #e781db;
$custom-light: #f0a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e781db",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 307.059,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74401,
    "c": 0.16648,
    "h": 331.6
  },
  "luminance": 0.37804
}

Semantic roles & 50–950 ramp

primary
#E781DB
secondary
#D4F0D7
accent
#D02B16
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E781DB

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

Preview Lab → · Contrast checker → · Palette generator →

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