#E781DA#E781DA

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

Color values

HEX#E781DA
RGBrgb(231, 129, 218)
HSLhsl(308, 68%, 71%)
HSVhsv(308, 44%, 91%)
CMYKcmyk(0%, 44.2%, 5.6%, 9.4%)
CIE-LABlab(67.84, 51.35, -28.71)
CIE-LCHlch(67.84, 58.83, 330.79°)
OKLaboklab(74.36% 0.1462 -0.0779)
OKLCHoklch(74.36% 0.166 331.9)
XYZxyz(53.4597, 37.7544, 70.7876)
Luminance0.3775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781DA #81E78E
analogous
#C181E7 #E781DA #E781A7
triadic
#E781DA #DAE781 #81DAE7
tetradic
#E781DA #E7C181 #81E78E #81A7E7
square
#E781DA #E7C181 #81E78E #81A7E7
split-complementary
#E781DA #A7E781 #81E7C1
monochromatic
#C826B3 #DD4ECB #E781DA #F1B4E9 #FAE5F7

Accessibility & contrast

On white

2.46
#E781DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#E781DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781DA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781DA#FFFFFF#000000##000000
##E781DA1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDD
Deuteranopia (green-blind)
#9AABD7
Tritanopia (blue-blind)
#EF88A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e781da;
/* rgb */ color: rgb(231, 129, 218);
/* oklch */ color: oklch(74.4% 0.166 331.9);
Tailwind
colors: {
  custom: {
    50: '#f0a8e5',
    500: '#e781da',
    950: '#000000',
  },
}
SCSS
$custom: #e781da;
$custom-light: #f0a8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e781da",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 307.647,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7436,
    "c": 0.16562,
    "h": 331.9
  },
  "luminance": 0.37751
}

Semantic roles & 50–950 ramp

primary
#E781DA
secondary
#D4F0D8
accent
#D02D16
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E781DA

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

Preview Lab → · Contrast checker → · Palette generator →

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