#E781EA#E781EA

#E781EA is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.1% C 0.180 H 326.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#E781EA
RGBrgb(231, 129, 234)
HSLhsl(298, 71%, 71%)
HSVhsv(298, 45%, 92%)
CMYKcmyk(1.3%, 44.9%, 0%, 8.2%)
CIE-LABlab(68.48, 54.15, -36.56)
CIE-LCHlch(68.48, 65.33, 325.97°)
OKLaboklab(75.05% 0.1494 -0.1002)
OKLCHoklch(75.05% 0.18 326.1)
XYZxyz(55.6554, 38.6327, 82.3512)
Luminance0.3863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E781EA #84EA81
analogous
#B281EA #E781EA #EA81B8
triadic
#E781EA #EAE781 #81EAE7
tetradic
#E781EA #EAB281 #84EA81 #81B8EA
square
#E781EA #EAB281 #84EA81 #81B8EA
split-complementary
#E781EA #B8EA81 #81EAB2
monochromatic
#C922CE #DD4DE1 #E781EA #F1B5F3 #FAE5FB

Accessibility & contrast

On white

2.41
#E781EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#E781EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E781EA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E781EA#FFFFFF#000000##000000
##E781EA1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#94ACE7
Tritanopia (blue-blind)
#EC8CAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e781ea;
/* rgb */ color: rgb(231, 129, 234);
/* oklch */ color: oklch(75.1% 0.180 326.1);
Tailwind
colors: {
  custom: {
    50: '#f0a8f1',
    500: '#e781ea',
    950: '#000000',
  },
}
SCSS
$custom: #e781ea;
$custom-light: #f0a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e781ea",
  "rgb": {
    "r": 231,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 298.286,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75052,
    "c": 0.17985,
    "h": 326.1
  },
  "luminance": 0.3863
}

Semantic roles & 50–950 ramp

primary
#E781EA
secondary
#D6F1D6
accent
#D31218
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E781EA

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

Preview Lab → · Contrast checker → · Palette generator →

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